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 leadsWritten 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
- MITMIT
- Price
- FreeFree 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 record | about 19 years |
|---|---|
| Source published | Yes |
| Release signing | Signed |
| Security contact | Yes |
| Reproducible builds | Yes |
| Telemetry | None |
| Runs elevated | Never |
| Auto-update channel | None |
| Last confirmed alive | Last 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.
- Every tarball and static binary on dev.yorhel.nl/download carries a PGP .asc signature under key 7446 0D32 B808 10EB A9AF A2E9 6239 4C69 8C27 39FA plus a SHA256 checksum; checksums are also committed into git
- Debian's Reproducible Builds runbook verifies ncdu 1.22-1 bit-for-bit reproducible on amd64 and arm64 (tested 2026-10-16); this covers the C 1.x package build - the upstream Zig binaries publish no reproducibility claim
- No dedicated security policy; the stated channel for bugs of any kind is projects@yorhel.nl or the Forgejo issue tracker. No CVEs on record as of 2026-11-07
- Runs entirely as the invoking user: no setuid, no service, no in-app elevation - a full-disk scan means running ncdu itself under sudo. The 'b' shell-spawn key can be compiled out or disabled with -r/-rr read-only modes
- The tool itself has no network code; the ncdu.blicky.net export browser is a separate, self-hostable web service
- No self-updater or version check; updates flow through distro packages or a fresh tarball
Relations
- inspired by du (the POSIX disk usage command)
Man page: 'ncdu (NCurses Disk Usage) is a curses-based version of the well-known "du", and provides a fast way to see what directories are using your disk space.'
Research notes
- Launched 2007-02-21 as 'a curses-based version of the well-known du' to find space hogs on remote servers without a graphical setup; the author's same-day freshmeat listing is the earliest promotion found (see Announcements).
- Entered Debian three weeks after 1.0 (ncdu 1.0-1 in the pool since 2007-04-26) and is now packaged for ~30 systems per the homepage: every major Linux distro and BSD, plus Cygwin, AIX, Solaris/OpenCSW, and even a Tru64 binary. Most distros still ship the C 1.x LTS branch rather than the Zig 2.x series.
- Two maintained codebases since 2021: ncdu 2.x is a full rewrite in Zig (2.0-beta1 announced 2021-07-22, stable 2.0 on 2021-12-21) - a drop-in replacement motivated by memory use, an O(n^2) hard-link counting path, and misleading cumulative sizes on hard-link-heavy trees ('Less hungry and more Ziggy' in Sources). The C 1.x branch continues as LTS because the Zig toolchain remains unstable; the author apologized to distributions in the announcement, and Debian indeed still packages 1.x.
- Release integrity: all tarballs and static binaries carry PGP signatures (key 8C27 39FA) and published SHA256 checksums, which are also committed into git - a practice visible on tarballs back to the 0.1 era.
- Self-hosting on principle: canonical repo at git://g.blicky.net/ncdu.git with Forgejo browsing and issues on code.blicky.net; the author's homepage states he is 'not on closed networks such as ... Github'. Git history begins 2007-07-20 as an SVN import; a SourceForge bug tracker (group_id 200175) served the early years, which is why old changelogs cite 7-digit bug ids.
- Solo maintenance for 19+ years: 407 commits on the C branch with ~24 named contributors supplying mostly one-off patches - including distro package maintainers (Christian Göttsche of Debian, Thomas Klausner of pkgsrc) fixing portability upstream.
- The ncdu JSON export format became a de-facto interchange: gdu and tdu read/write it, and the author's ncdu.blicky.net service browses uploaded exports (self-hostable via ncdutils). The homepage's 'similar projects' list links ~16 alternatives; catalog entries gdu and diskard record ncdu inspiration directly, and the 2019-2021 Rust/Go wave (dua-cli, dust, diskonaut, pdu) built on the same model.
- No native Windows build: Cygwin has been supported since 1.2 (2007) and the site links itefix.net's third-party 'wincdu' port - a gap several clones advertise against.
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
| URL | Role | Status | Checked | Archive |
|---|---|---|---|---|
| dev.yorhel.nl/ncdu | homepage | 200 | ||
| g.blicky.net/ncdu.git | repo | — | ||
| code.blicky.net/yorhel/ncdu/issues | other | 200 | ||
| dev.yorhel.nl/doc/ncdu2 | other | 200 | ||
| dev.yorhel.nl/download | other | 200 | ||
| freshmeat.net/projects/ncdu/ | other | — | wayback | |
| ncdu.blicky.net/ | other | 200 | ||
| snapshot.debian.org/package/ncdu/ | other | 200 | ||
| tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ncdu.html | other | 200 | ||
| itefix.net/wincdu | other | — | ||
| formulae.brew.sh/formula/ncdu | store_listing | — |
Established alternatives
Related tools
Wrong, stale, or missing something? Flag this listing: corrections reach the site operator, not Ncdu's developer.