Treemap Disk Explorer: diskonaut
See disk usage as nested tiles and delete the biggest offenders.
Run diskonaut to open a treemap of the current directory.
01Command
Command
$ diskonaut02What it does
diskonaut renders folders as nested rectangles whose area matches their size, so oversized files stand out immediately. Arrow keys navigate and the interface can delete files, making cleanup fast.
03Risk
!Warning: Deletion removes files permanently in this interface; double-check before confirming.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Homebrew formula: diskonautEvidence: Packages diskonaut, a terminal disk space navigator with a treemap view.
Last verified: 2026-09-22 · Category: Files & Folders
06Related solutions
Find files larger than 500 MB on Mac
List the biggest files in your home folder that are eating disk space.
Batch-rename file extensions on Mac (jpeg → jpg)
Change the extension of every matching file in a folder with one shell loop.
Hide any file or folder on Mac
Make a file or folder invisible in Finder without moving or renaming it.