A fast, interactive terminal disk usage analyzer for Windows and Linux, written in Rust.
It scans directories in parallel, visualizes storage distribution with progress bars, and allows you to search and delete files or folders directly in the terminal interface.
If you downloaded the binary from the releases page:
- Windows: Run in terminal/PowerShell:
.\cmdirstat.exe - Linux: Make executable and run:
(Note: Pre-compiled Linux binary requires a glibc-based distribution like Ubuntu, Debian, Fedora, or Arch. For musl-based systems like Alpine, build from source.)
chmod +x cmdirstat ./cmdirstat
Make sure you have Rust installed.
Install build tools:
sudo apt update && sudo apt install -y build-essentialBuild and run:
cargo build --release
./target/release/cmdirstatBuild and run (PowerShell / CMD):
cargo build --release
.\target\release\cmdirstat.exeUp/k- Navigate upDown/j- Navigate downEnter/Right/l- Enter folder or select driveBackspace/Left/h- Go backd/Delete- Delete selected file or folder (requires confirmation)/- Search / filterTab/s- Cycle sort columnSpace/r- Toggle sort direction?/F1- Help menuq/Esc- Quit / close modal
MIT