Ncdu

NCurses Disk Usage: the original disk usage analyzer with a text-mode user interface, written in 2007 to find space hogs on remote servers without a graphical setup. Keyboard-driven directory browsing by size with per-item info and in-browser deletion (since v1.1, 2007); non-interactive modes export JSON or compressed binary scans for later browsing, the documented recipe for remote analysis being an SSH pipe. Runs on any POSIX-like system and packaged for ~30 distros and BSDs, plus Cygwin and a third-party Windows port. Two maintained codebases: the Zig 2.x rewrite (latest 2.9.2, 2025-10-24) and the C 1.x LTS branch. Self-hosted git on g.blicky.net; deliberately not on GitHub.

Also known as: NCurses Disk Usage

Last reviewed

Quick facts

Platforms
Interface
interactive TUI by default; -0/-1/-2 non-interactive modes print or export scans (JSON since 1.9, compressed binary since 2.6) - e.g. `ssh host ncdu -o- / | ncdu -f-` for remote browsing
Tech stack
Zig (2.x stable branch); C (1.x LTS branch); ncurses; libzstd dependency for compressed exports since 2.6
Features
Dev-junk cleaning
Not a focus
Development
Solo developer · original author still leads
Written and maintained by Yorhel (Yoran Heling) since the 2007 launch; occasional outside patches, with packaging handled downstream (Debian maintainer Christian Göttsche, previously Eugene V. Lyubimkin). The contributing page sets a review-everything posture: bug reports welcome, most feature requests rejected as out of scope.
License
MIT
MIT
Price
Free
Free and open source; the author does not accept donations for his tools (dev.yorhel.nl/contributing)
Launched
first_release_at; same-day freshmeat listing by the author (see Announcements)
Repo created
First release
Domain registered
(yorhel.nl)
Last seen alive

Checks

Each row reports one fact. "Not yet checked" means we don't have a result. There is no overall score.

Track recordabout 19 years
Source publishedYes
Release signingSigned
Security contactYes
Reproducible buildsYes
TelemetryNone
Runs elevatedNever
Auto-update channelNone
Last confirmed aliveLast seen 21 days ago
What the checks mean
Track record
Time in the wild is a rough proxy for exercised code paths and noticed bugs. New means unproven, not bad.
Source published
Public source lets anyone audit the code instead of trusting the marketing.
Release signing
A signature ties the binary to a publisher identity and lets the OS detect tampering after release.
Security contact
A published way to report vulnerabilities means the developer takes security seriously and has a process for addressing problems.
Reproducible builds
Anyone can verify the shipped binary came from the published source. Rare in most software, so a "no" is neutral, not a failure.
Telemetry
Telemetry serves legitimate purposes. It helps developers find bugs, slowdowns, confusing features, and unused functions, and it helps them prioritize improving what users actually use. What matters is consent (opt-in vs. opt-out), what is collected, and whether it is disclosed.
Runs elevated
A cleaner sometimes needs admin rights to reach system files. Always-on elevation widens what a bug or a compromise can reach.
Auto-update channel
Updates keep rules current and ship fixes; an unsigned channel is itself an attack path.
Last confirmed alive
When we last confirmed the app was still available. Entries are not re-checked daily, so an older date can mean a quiet app or just a stale check. If nothing recent is recorded here, the app's own website or repository is the better source for its current state.

Relations

Research notes

Announcements

2 recorded

Other — NCurses Disk Usage by u/yorhel (archived copy)

Earliest author promotion found: the freshmeat listing, added 2007-02-21 11:59 UTC - the same day as the 0.1 release - registered by project owner 'YorHel'. Its blurb defined the genre: 'a curses-based version of the well-known "du", and provides a fast way to see what directories are using your disk space.' freshmeat closed in 2014; earliest surviving capture is Oct 2008.

Blog — Ncdu 2: Less hungry and more Ziggy by u/yorhel

The Zig-rewrite announcement (2.0-beta1), kept because the freshmeat-era listing carries only the two-line pitch. States the motivation (1.x memory use, an O(n^2) hard-link counting path, misleading cumulative sizes on hard-link-heavy trees), promises a drop-in replacement, and commits to maintaining C 1.x for stable toolchains.

It has always been a bit of a memory hog. Part of this is inherent to what it does: analyzing a full directory tree and making it smoothly browsable requires keeping track of every node in that tree — Problem statement
Ncdu 2 is a full replacement of ncdu 1.x, keeping all the same features, the same UI, keybindings and command-line flags, all to make it a proper drop-in replacement. There is, after all, nothing more annoying than having to get re-acquainted with every piece of software you've installed every time you decide to update. — Virtue

Sources

URLRoleStatusCheckedArchive
dev.yorhel.nl/ncduhomepage200
g.blicky.net/ncdu.gitrepo—
code.blicky.net/yorhel/ncdu/issuesother200
dev.yorhel.nl/doc/ncdu2other200
dev.yorhel.nl/downloadother200
freshmeat.net/projects/ncdu/other—wayback
ncdu.blicky.net/other200
snapshot.debian.org/package/ncdu/other200
tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ncdu.htmlother200
itefix.net/wincduother—
formulae.brew.sh/formula/ncdustore_listing—

Established alternatives

Related tools

Wrong, stale, or missing something? Flag this listing: corrections reach the site operator, not Ncdu's developer.