Yoran Heling
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.2.1-linux-i386.tar.gz
Size: 283.9 KiB (290.694 bytes)
PGP: ncdu-2.2.1-linux-i386.tar.gz.asc
MD5: 5ea8272bc4fa478d4b1d9a69d66e0931
SHA1: 303e35bc4a9208d2a543b7606d00fd7ace7782c6
SHA-256: 218cb71698f8dee8186a99999c6b9c857ca0f351436efc7687381d4d55d047d9
- File: ncdu-2.2.1-linux-x86_64.tar.gz
Size: 315.5 KiB (323.039 bytes)
PGP: ncdu-2.2.1-linux-x86_64.tar.gz.asc
MD5: 6411ff15b067e883e77da034d09f3820
SHA1: 9800e3c1af24e2dbd0a55e1cf86ba324327d39fd
SHA-256: 0915f329c86d4722b8a89f0165a437c546ca32f4f7f4e700a567ee786d52cded
- File: ncdu-2.2.1-linux-arm.tar.gz
Size: 276.5 KiB (283.175 bytes)
PGP: ncdu-2.2.1-linux-arm.tar.gz.asc
MD5: de9772981d7f511149e5eeec8ed48a57
SHA1: 4630139df6acf408558e94c02c75a103cf1aaa99
SHA-256: 0650900f620d372d2f3be3de7881a63cc628ec082ce931587bd4e147c337dc1b
- File: ncdu-2.2.1-linux-aarch64.tar.gz
Size: 298.5 KiB (305.700 bytes)
PGP: ncdu-2.2.1-linux-aarch64.tar.gz.asc
MD5: 52a1a890e8b587299acda36b88650b0d
SHA1: 0214c88212235aa0da9160fe2ae24af975896833
SHA-256: 591bb23fd6a873703bd80ba24ddd16f40b46982d2b8835170c4399954b24bc5f
Zig version (stable)

2.2.2 (File: ncdu-2.2.2.tar.gz
Size: 54.8 KiB (56.096 bytes)
PGP: ncdu-2.2.2.tar.gz.asc
MD5: a567e1e69c579589f05091da89b101ee
SHA1: 7e6e8c6074433d10a32d99773083e9296b66bb3f
SHA-256: 90d920024e752318b469776ce57e03b3c702d49329ad9825aeeab36c3babf993
- changes - requires Zig 0.10.x)

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.18.1 (File: ncdu-1.18.1.tar.gz
Size: 156.0 KiB (159.731 bytes)
PGP: ncdu-1.18.1.tar.gz.asc
MD5: 567df772ef0f2e28801009a90ab7b8e3
SHA1: bdc12fa539db1e310a29431939efca7091dbb867
SHA-256: 7c0fa1eb29d85aaed4ba174164bdbb8f011b5c390d017c57d668fc7231332405
- 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://g.blicky.net/ncdu.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