dust alternatives

Compare dua, diskonaut, and erdtree as dust alternatives for interactive cleanup, treemaps, and filesystem reports.

Updated

short verdict

Keep dust for filtered size reports. Choose dua for list-based interactive cleanup, diskonaut for a treemap, or erdtree for ignore-aware trees and multiple metrics.

The reason to switch is the next action you want to take after finding a large directory. An interactive cleanup session, a treemap, and a configurable filesystem report each organize the same investigation differently.

this page is for

  • interactive disk cleanup
  • visual treemap cleanup
  • directory reports with ignore rules and multiple metrics
#1

dua

★ 6.5k
details

Use dua when you want to navigate directory sizes and select files for deletion inside a TUI.

best for

  • interactive disk cleanup

strengths

  • Interactive navigation and deletion include multi-stage deletion protection
  • Parallel directory traversal is enabled by default
  • Configure whether Esc visits the parent directory or quits

weaknesses

  • Interactive deletion changes the filesystem, so check the selected paths before confirming cleanup.

Use diskonaut to explore a disk-usage treemap and track space freed during an interactive cleanup.

best for

  • visual treemap cleanup

strengths

  • Navigate subdirectories while the scan continues
  • View file and folder sizes as a treemap
  • Delete selected paths and track space freed during the session

weaknesses

  • The scan indexes file metadata in memory, so very large directory trees increase memory demand.
#3

erdtree

★ 2.6k
details

Use erdtree for filesystem trees that combine size, file search, and alternative count metrics.

best for

  • directory reports with ignore rules and multiple metrics

strengths

  • Respect .gitignore and hidden-file rules by default
  • Choose tree, inverted-tree, or flat layouts
  • Measure bytes, blocks, words, or lines and filter with regex or globs

weaknesses

  • Default ignore and hidden-file rules narrow the scan; review them when auditing all disk usage.

Why look beyond dust

  • Choose dua to navigate sizes and select paths for deletion in a TUI.
  • Choose diskonaut to explore size as a treemap and track space freed.
  • Choose erdtree for ignore-aware trees with byte, block, word, or line metrics.

Stay with dust if

  • You want a percentage-bar report with regex and size filters.
  • JSON export, file-type grouping, and TOML defaults match your reporting workflow.

FAQ

Which alternative helps with interactive cleanup?
dua offers navigation and multi-stage deletion protection. diskonaut combines a treemap with deletion and a running total of space freed. Review selected paths before deleting.
Do I need to switch to get a filtered report?
dust already supports regex inclusion and exclusion, minimum size thresholds, file-only and directory-only views, and JSON export. Switch when a different interaction or metric is useful.
Why might scan totals differ?
Check the paths and metrics being measured. erdtree respects ignore files and hidden-file rules by default; compare the included files before interpreting different totals.

related