dust
A disk usage analyzer that shows directory sizes with visual bars and intelligent tree traversal
Dust is a disk usage analyzer written in Rust that displays directory sizes with ASCII bar charts and color-coded visual indicators. It automatically recurses through directory trees to identify the largest subdirectories and files, presenting them in a hierarchical view with percentage bars that show relative size within each level.
The tool uses intelligent traversal to surface the most significant disk usage without requiring manual sorting or filtering. It displays a terminal-height number of entries by default, with visual bars that change color and size to indicate both hierarchy and relative disk usage. Gray lines connect parent and child directories to show containment relationships.
Dust includes extensive filtering and display options: apparent size vs disk usage (-s), directory-only or file-only views (-D/-F), regex-based inclusion/exclusion (-e/-v), minimum size thresholds (-z), and JSON output (-j). It handles symbolic links, supports multiple output formats (binary/decimal units), and can group results by file type (-t) or count files instead of disk space (-f). Configuration can be stored in ~/.config/dust/config.toml for persistent settings.
Installation
# via Homebrew
brew install dust
# via Cargo
cargo install du-dust
# via Snap
snap install dust

Alternatives & related tools
broot
Interactive file manager and directory navigator with fuzzy search, git integration, and file operations
Dufs
File server with static serving, uploads, search, zip folder download, account-based access control, HTTPS, and WebDAV, usable from a browser or curl.
lsd
Enhanced ls replacement with colors, icons, tree view, and additional formatting options written in Rust
xplr
Terminal-based file explorer with Lua scripting, keyboard controls, and plugin system for command-line integration
ouch
CLI tool for compressing and decompressing files across 14+ formats with automatic format detection
add a badge to your README
Maintain dust? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/dust?utm_source=badge)<a href="https://www.trmn.sh/tools/dust?utm_source=badge"><img src="https://www.trmn.sh/badge/dust.svg" alt="Featured on trmn" height="20"></a>