← Back to tools
View AGENTS.md for dust
dust
A more intuitive version of du written in Rust
Description
dust (du + rust = dust) is a modern replacement for the du command. It shows disk usage in a visual, easy-to-read format with a bar chart representation and sorts directories by size by default.
Install
homebrew
brew install dustcargo
cargo install du-dustpacman
sudo pacman -S dustAI Summary
A modern du replacement that shows disk usage with visual bar charts. Automatically sorts by size and displays a tree-like structure for easy comprehension.
Capabilities
- + Visual bar chart display of disk usage
- + Automatic sorting by size (largest first)
- + Tree-like directory structure output
- + Configurable depth and number of results
Use When
- → Finding what's taking up disk space
- → Need a quick visual overview of directory sizes
- → Want sorted disk usage without piping du through sort
Avoid When
- x Need machine-parseable output for scripts (use du)
Usage Patterns
Show disk usage of current directory
dust Displays a visual tree of directory sizes sorted by size
Limit depth and show top entries
dust -d 2 -n 10 Shows top 10 entries with max depth of 2 levels
Input / Output
stdout: Visual bar chart of disk usage
Exit codes:
0 Success