home - git - @ayo
= pgp = only used for releases
key - mit
7446 0D32 B808 10EB A9AF A2E9 6239 4C69 8C27 39FA

Cute decorative scissors, cutting through your code.

NCurses Disk Usage

Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote server where you don’t have an entire graphical setup available, but it is a useful tool even on regular desktop systems. Ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed.

Download Atom feed

Static binaries
Convenient static binaries for Linux. Download, extract and run; no compilation or installation necessary: File: ncdu-2.4-linux-x86.tar.gz
Size: 290.5 KiB (297.477 bytes)
PGP: ncdu-2.4-linux-x86.tar.gz.asc
MD5: 3dbe13193695d68590e39cefece3a0f3
SHA1: a32ef65dcddc4ca0910e5ad588f1019afb366346
SHA-256: ddf5ce1744d5827d106848d29e745c88abc74024417612e4defbcb64b6c710c4
- File: ncdu-2.4-linux-x86_64.tar.gz
Size: 280.1 KiB (286.824 bytes)
PGP: ncdu-2.4-linux-x86_64.tar.gz.asc
MD5: 298426fed5d497e16cde174b7d99c131
SHA1: f709bdc06acfeb2077ee7c1299e1333a4a7bc048
SHA-256: 327c475bf0ab06172992fef3fd35549309bbc0c50c4d4655ab8fdf48fc77ec1c
- File: ncdu-2.4-linux-arm.tar.gz
Size: 267.3 KiB (273.717 bytes)
PGP: ncdu-2.4-linux-arm.tar.gz.asc
MD5: 7bbe495877ff06844ebef38ae8ceae63
SHA1: 0782150781c53b1d29a255c445f27e6ad9ab631c
SHA-256: 6cc61c3d58e9f4a849424d8f8dad7ec39799a56bf1d542781873550bdc2e6658
- File: ncdu-2.4-linux-aarch64.tar.gz
Size: 271.7 KiB (278.214 bytes)
PGP: ncdu-2.4-linux-aarch64.tar.gz.asc
MD5: 829d3dbe872dc9eb8893cffd55bac2a4
SHA1: 54a6cd37b934e4703b11d14b83effbd93d12e45e
SHA-256: 1cd8262d08ce9edf44a584772f71ba67944962e32a3f7bf5f01f910b8d4293a1
Zig version (stable)

2.4 (File: ncdu-2.4.tar.gz
Size: 50.4 KiB (51.648 bytes)
PGP: ncdu-2.4.tar.gz.asc
MD5: 10ff1cceed1cf85326d914ea9264331d
SHA1: 6b9c92e40d5efe81f685f811a3bea7896afe0cf4
SHA-256: 4a3d0002309cf6a7cea791938dac9becdece4d529d0d6dc8d91b73b4e6855509
- changes - requires Zig 0.12)

See the beta release announcement for information about the motivation for the rewrite and some of the differences with the C version.

Note that the Zig language and compiler are still very much unstable. This version of ncdu will only work with the version of the Zig compiler noted above. Use the ncdu 1.x branch if this does not work for you or if you need a more stable compilation environment.

C version (LTS)

1.20 (File: ncdu-1.20.tar.gz
Size: 147.3 KiB (150.835 bytes)
PGP: ncdu-1.20.tar.gz.asc
MD5: 563966db4c3c34d61cc890a85ddedae0
SHA1: 1a3543cfbbe3e402d6347cf688468327064941b9
SHA-256: 5fe2bb841abe72374bb242dbb93293c4ae053078432d896a7481b2ff10be9572
- changes)

Lags a bit behind on the 2.x version in terms of features and performance, but is still being maintained and perfectly usable.

Development version
The most recent code is available on a git repository and can be cloned with git clone git:// The repository is also available for online browsing (and through cgit if you prefer that). The ‘master’ branch represents the C version, the Zig version can be found in the ‘zig’ branch.

Packages and ports

Ncdu has been packaged for quite a few systems, here’s a list of the ones I am aware of:

AIX - Alpine Linux - ALT Linux - Arch Linux - CRUX - Cygwin - Debian - Fedora - FreeBSD - Frugalware - Gentoo - GNU Guix - NixOS - OpenBSD - OpenWRT - MacOS (Fink - Homebrew - MacPorts) - Puppy Linux - Solaris - Slackware - Slax Linux - Ubuntu - Void Linux

Packages for RHEL and (open)SUSE can be found on the Open Build Service.

Packages for NetBSD, DragonFlyBSD, MirBSD and others can be found on pkgsrc.

A port to z/OS is available here.

Similar projects