Dust
A command-line disk usage tool, like du, that shows which directories and files use the most disk space with percentage bars.
Tested on Linux
Use it
Linux x86_64
Download install.sh
curl -sSfL -o /tmp/dust-install.sh https://raw.githubusercontent.com/bootandy/dust/refs/heads/master/install.shRun installer (installs dust v1.2.7 musl binary to ~/.local/bin)
sh /tmp/dust-install.sh
Check that it works
dust --versionThe output should contain “Dust 1.2.7”.
First thing to try
mkdir -p /tmp/sample/src/utils /tmp/sample/docs /tmp/sample/media && head -c 300000 /dev/urandom > /tmp/sample/media/big.png && head -c 120000 /dev/urandom > /tmp/sample/src/main.rs && head -c 40000 /dev/urandom > /tmp/sample/src/utils/helper.rs && head -c 60000 /dev/urandom > /tmp/sample/docs/guide.md && head -c 5000 /dev/urandom > /tmp/sample/docs/notes.txtcd /tmp/sample && dust -n 10Run dust inside a directory to see which subdirectories and files use the most space.
What it does
- List the biggest subdirectories with percentage barsTested
How to use it
- Go to the directory you want to check with
cd <directory>. - Run
dust -n 10to show the 10 largest entries with percentage bars.
- Go to the directory you want to check with
- Show only the largest filesTested
How to use it
- Run
dust -F <directory>to list only files, largest first.
- Run
- Group disk usage by file typeTested
How to use it
- Run
dust -t <directory>to see space used per file extension.
- Run
- Output directory sizes as JSONTested
How to use it
- Run
dust -j <directory>to print sizes as nested JSON.
- Run
How far pickfit got
Linux x86_64
- Installs
- Starts
- 4 of 4 features work
- Works offline
macOS and Windows: the project says it runs there; pickfit hasn’t tried it.
Good for
- find the largest files on disk
- see which directories use the most disk space
- export directory sizes as JSON
An alternative to du, ncdu, dua and dutree.
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 15 Nov 2026
- Version Dust 1.2.7
Differences the test machine hit
- README: curl -sSfL .../install.sh | sh
In the test: Works, but the script uses bash 'echo -e' with a bash shebang; under sh (dash) every message is prefixed with a literal '-e'. Purely cosmetic. - README: curl ... | sh
In the test: The script downloads a prebuilt release binary from GitHub (it cannot be read as a script) and, with no writable /usr/local/bin, installs to ~/.local/bin