
Description
The disk is red again, and clicking through folders in a file manager to check sizes never quite reveals which directories swallowed hundreds of gigabytes. Disktree draws the whole tree as a nested treemap: every folder is a block whose area is the space it really takes on disk, so the heavy hitters jump out and you can drill straight down to the culprit.
It also helps you clean up. Press space to mark what should go, keep the volume's free space in view the whole time, and review the list before anything is deleted, with an extra prompt for permanent removal. It is written by Shopify founder Tobi in Rust with GPUI, with ready builds for Linux, macOS and Windows.
Treemap: Draws every directory by actual disk cost rather than apparent size, and can switch to file count or last-modified age.
Colored by kind: Code, cache, toolchains, Git, media, documents and synced folders each get a color, with reclaimable space hatched, so you see what kind of data is eating the disk.
Worth a look: The side panel lists the likeliest wins, such as stale worktrees, regenerable caches and experiments untouched for 30 days, with how much each would free.
Mark, then delete: Space marks, c reviews, nothing happens until you commit, and permanent deletion asks again.
Keyboard driven: hjkl to move, Enter to open, Backspace to go up, / to filter and brackets to change depth, or just use the mouse.
Flexible scope: Scans your home directory by default, the whole disk with
It also helps you clean up. Press space to mark what should go, keep the volume's free space in view the whole time, and review the list before anything is deleted, with an extra prompt for permanent removal. It is written by Shopify founder Tobi in Rust with GPUI, with ready builds for Linux, macOS and Windows.
Features
Treemap: Draws every directory by actual disk cost rather than apparent size, and can switch to file count or last-modified age.
Colored by kind: Code, cache, toolchains, Git, media, documents and synced folders each get a color, with reclaimable space hatched, so you see what kind of data is eating the disk.
Worth a look: The side panel lists the likeliest wins, such as stale worktrees, regenerable caches and experiments untouched for 30 days, with how much each would free.
Mark, then delete: Space marks, c reviews, nothing happens until you commit, and permanent deletion asks again.
Keyboard driven: hjkl to move, Enter to open, Backspace to go up, / to filter and brackets to change depth, or just use the mouse.
Flexible scope: Scans your home directory by default, the whole disk with
--disk, or any path you pass, and registers as an Open With handler for folders.