NCurses Disk Usage: a disk usage analyzer with a text-mode interface
open sourceMITself-hostablefree
ncdu (NCurses Disk Usage) is a disk usage analyzer with a text-mode user interface, made to find space hogs on a remote server without a graphical setup and useful on desktops too. It scans a directory tree, lets you browse it sorted by size and delete files from inside it, can exclude patterns, stay on one file system or skip caches, and can export a scan to JSON or (from 2.6) a compressed binary format to browse later; 2.5 added parallel scanning. It comes in two lines: the Zig version (2.x) and the C version (1.x, LTS), and is packaged for nearly every Linux distribution, the BSDs, macOS and more, under the MIT licence. Yoran Heling (Yorhel) wrote and maintained it; after his passing the original is no longer maintained, and its last releases were 2.9.2 (24 Oct 2025) and 1.22 (5 Mar 2025). A community maintenance fork continues it.
Problems it solves
- find what is filling up the disk on a server over SSH
- browse directory sizes interactively in the terminal and delete the big ones
- scan a huge file system once and inspect the results later on another machine
- a faster, interactive alternative to du
Features
- interactive browsing of directory sizes
- deleting files from the browser
- exclude patterns and one-file-system scans
- JSON and compressed binary export
- parallel scanning (2.x)
- Zig (2.x) and C (1.x) versions
Capabilities
| Has a command line tool | plan not known |
|---|
Forks
- ncdu NCurses Disk Usage, continued: the community maintenance fork. Its own project since 2026.
Alternatives
The same job
These do what ncdu does.