diskonaut
Visualize disk space usage
TLDR
Start diskonaut in the current directory
Start diskonaut in a specific directory
Show file sizes rather than their block usage on the disk
Disable deletion confirmation
SYNOPSIS
diskonaut [OPTIONS] [PATH]
PARAMETERS
-h, --help
Print help information
-V, --version
Print version information
--no-colors
Disable colored output
--cache-dir <CACHE_DIR>
Directory to store cache files (default: /tmp/diskonaut)
DESCRIPTION
Diskonaut is a fast, terminal-based disk space analyzer built in Rust. It displays disk usage as an interactive treemap, where each block's size represents a directory or file's space consumption, making it intuitive to spot large consumers. Unlike text-heavy tools like du or ncdu, its visual layout allows quick navigation with keyboard controls similar to Vim.
Launch with diskonaut /path to scan a directory (defaults to current dir). Use arrow keys to select, Enter to zoom in, Esc or Backspace to go up, d to delete items (with confirmation), r to refresh, and q to quit. It caches scan data in /tmp/diskonaut by default for instant reloads on subsequent runs. Colors differentiate file types and sizes; disable with --no-colors.
Ideal for servers without GUI, it's lightweight, performant on large filesystems, and supports mouse in some terminals. No daemon or config needed—plug and analyze.
CAVEATS
Keyboard-driven TUI; requires interactive terminal. Deletes are permanent—use cautiously. Cache may grow large on repeated scans of huge dirs.
KEYBINDINGS
←→↑↓: Navigate | Enter: Enter dir | Esc/BS: Parent | d: Delete | r: Refresh | s: Sort | q: Quit | ? : Help
INSTALLATION
Via Cargo: cargo install diskonaut | Packages: Arch (AUR), Fedora COPR, Nix.
HISTORY
Developed by Aleks-Dem in 2020 as an open-source Rust project on GitHub (diskonaut/diskonaut). Gained popularity for its unique treemap UI over traditional analyzers; actively maintained with versions up to 0.5+.


