A terminal disk-usage analyzer written in Rust.
- Go to the GitHub releases page
- Download the latest non-dSYM build (i.e.,
rdu-X.Y.Z.tar.gzfor Linux/macOS) - Unzip the archive
- Run the
rdubinary from the terminal
- Install Homebrew if you haven't already
- Open Terminal and run
brew tap schmidt-gabriel/tap - Run
brew install rdu
Requires Rust 1.75+. Install via rustup if needed.
Run rdu to scan the current directory, or provide a path to scan a specific directory:
# Scan current directory
rdu
# Scan a specific directory
rdu /path/to/directoryYou can also use the following flags:
-h,--help: Print help information-V,--version: Print version information--no-delete: Prevent deletions
| Key | Action |
|---|---|
j / ↓ |
Move selection down |
k / ↑ |
Move selection up |
Enter / → |
Drill into directory |
← / Esc / Backspace |
Go up to parent / clear search |
Space |
Mark item for deletion |
d / D |
Delete marked item(s) (with prompt) |
/ |
Search / filter files |
s |
Cycle sort mode |
r |
Rescan from root |
? |
Toggle help overlay |
q |
Quit |
src/
├── main.rs — Entry point, terminal setup, event loop
├── app.rs — Application state (tree, navigation, scan channel)
├── scanner.rs — Recursive filesystem walker (std::fs + rayon)
└── ui.rs — All ratatui widget rendering
- Filter by extension (show only
.mp4, etc.)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.


