~ Ncdu ~

Yoran Heling
projects@yorhel.nl
home - git repos
= donate =paypal - bitcoin
= pgp =key - mit
7446 0D32 B808 10EB A9AF A2E9 6239 4C69 8C27 39FA
Cute decorative scissors, cutting through your code.

NCurses Disk Usage

Not quite happy with the available disk usage analyzers and looking for a fun project to get used to C programming, I started working on ncdu: A disk usage analyzer with an ncurses interface, aimed to be run on a remote server where you don't have an entire gaphical setup, but have to do with a simple SSH connection. 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

Latest version

1.10 (ncdu-1.10.tar.gzpgp-sha1-md5 - changes - mirror)

I also have convenient static binaries for Linux i486 and ARM. Download, extract and run; no compilation or installation necessary (uses musl).

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.

Ncdu is entirely written in C and available under a liberal MIT license.

Subscribe to freecode to receive notifications for new releases.

Packages and ports

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

AgiliaLinux - AIX - Alpine Linux - ALT Linux - Arch Linux - CRUX - Cygwin - Debian - Fedora - FreeBSD - Frugalware - Gentoo - GNU Guix - IPCop - OpenBSD - Mac OS X (Fink - Homebrew - MacPorts) - Pardus - Puppy Linux - Solaris - Slackware (Slackbuilds - Slackers.it) - Slax Linux - Ubuntu - Zenwalk

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

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

Similar projects

gt5 - Quite similar to ncdu, but a different approach.
tdu - Another small ncurses-based disk usage visualization utility.
TreeSize - GTK, using a treeview.
Baobab - GTK, using pie-charts, a treeview and a treemap. Comes with GNOME.
GdMap - GTK, with a treemap display.
Filelight - KDE, using pie-charts.
KDirStat - KDE, with a treemap display.
QDiskUsage - Qt, using pie-charts.
xdiskusage - FLTK, with a treemap display.
fsv - 3D visualization.
Philesight - Web-based clone of Filelight.