Repository navigation
Releases
dtui v0.1.0
dtui is a keyboard- and mouse-friendly terminal disk-space explorer with a nested treemap. It scans a directory, shows real disk usage as a squarified treemap (or a sortable list), and lets you mark items, review every marked path, and move them to the system Trash — or delete them permanently — without leaving the terminal.
Install
Prebuilt binaries for Linux (x86_64) and macOS (Apple silicon) are attached below as dtui-v0.1.0-<target>.tar.gz, each with a .sha256 checksum.
One-liner (Linux/macOS) — installs dtui into ~/.local/bin:
curl -fsSL https://raw.githubusercontent.com/liyu1981/disktree-tui/main/scripts/install.sh | bashFrom source:
cargo install --path .Use
dtui # scan $HOME (or the last path in the state file)
dtui ~/projects # scan a specific directory
dtui --scan-only . # print totals and errors, then exitBrowse with arrows / hjkl, Enter to open, Space to mark, R to review marked items, T (or E) to open the Trash browser, / to filter, m to switch metric, v to toggle map/list, ? for help, q to quit. Everything on screen is also clickable.
Highlights
- Squarified treemap sized by real disk usage, plus a list view
- Background scan with live progress; disk / apparent / files metrics
- Mark → Review → Trash (or permanent delete), re-validated per item before removal
- Trash browser: see what is in the Trash and empty it
- Mouse support, clickable breadcrumbs and status bar, themes and color modes
Marking never deletes anything, and destructive actions require an explicit confirm step.