85 lines
4.6 KiB
Markdown
85 lines
4.6 KiB
Markdown
% 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
|
|
|
|
Latest version
|
|
: 1.15.1 ([ncdu-1.15.1.tar.gz](/download/ncdu-1.15.1.tar.gz) - [changes](/ncdu/changes))
|
|
|
|
I also have convenient static binaries for Linux
|
|
[i486](/download/ncdu-linux-i486-1.15.1.tar.gz),
|
|
[x86_64](/download/ncdu-linux-x86_64-1.15.1.tar.gz),
|
|
[ARM](/download/ncdu-linux-arm-1.15.1.tar.gz) and
|
|
[AArch64](/download/ncdu-linux-aarch64-1.15.1.tar.gz). Download, extract
|
|
and run; no compilation or installation necessary (uses
|
|
[musl](http://www.musl-libc.org/)).
|
|
|
|
Project status
|
|
: *Maintenance mode*: I consider ncdu to be mostly complete. I'm still here
|
|
to keep it alive and to fix issues as they come along, but I don't actively
|
|
work on adding new features. Bug reports are still very welcome. Feature
|
|
requests are welcome too, but don't expect much from that. Patches and pull
|
|
requests for new features will likely end up getting ignored.
|
|
|
|
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](https://g.blicky.net/ncdu.git/).
|
|
|
|
Ncdu is entirely written in C and available under a liberal MIT license.
|
|
|
|
## Packages and ports
|
|
|
|
Ncdu has been packaged for quite a few systems, here's a list of the ones I am aware of:
|
|
|
|
[AIX](http://www.perzl.org/aix/index.php?n=Main.Ncdu) -
|
|
[Alpine Linux](http://pkgs.alpinelinux.org/packages?name=ncdu) -
|
|
[ALT Linux](http://sisyphus.ru/en/srpm/ncdu) -
|
|
[Arch Linux](https://www.archlinux.org/packages/?q=ncdu) -
|
|
[CRUX](https://crux.nu/portdb/?q=ncdu&a=search) -
|
|
[Cygwin](https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ncdu) -
|
|
[Debian](http://packages.debian.org/ncdu) -
|
|
[Fedora](https://apps.fedoraproject.org/packages/ncdu) -
|
|
[FreeBSD](https://www.freebsd.org/cgi/ports.cgi?query=ncdu&stype=all) -
|
|
[Frugalware](http://frugalware.org/packages/?op=pkg&srch=ncdu&arch=all&ver=all) -
|
|
[Gentoo](https://packages.gentoo.org/packages/sys-fs/ncdu) -
|
|
[GNU Guix](https://guix.gnu.org/packages/N/) -
|
|
[NixOS](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/ncdu/default.nix) -
|
|
[OpenBSD](http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/sysutils/ncdu/) -
|
|
[OpenWRT](https://openwrt.org/packages/pkgdata/ncdu) -
|
|
MacOS ([Fink](http://pdb.finkproject.org/pdb/package.php/ncdu) - [Homebrew](https://formulae.brew.sh/formula/ncdu) - [MacPorts](http://www.macports.org/ports.php?by=name&substr=ncdu)) -
|
|
[Puppy Linux](http://www.murga-linux.com/puppy/viewtopic.php?t=35024) -
|
|
[Solaris](http://www.opencsw.org/packages/ncdu) -
|
|
[Slackware](http://slackbuilds.org/repository/14.2/system/ncdu/) -
|
|
[Slax Linux](http://www.slax.org/modules.php?detail=ncdu) -
|
|
[Ubuntu](http://packages.ubuntu.com/search?searchon=sourcenames&keywords=ncdu) -
|
|
[Void Linux](https://voidlinux.org/packages/)
|
|
|
|
Packages for RHEL and (open)SUSE can be found on the
|
|
[Open Build Service](https://software.opensuse.org//download.html?project=utilities&package=ncdu).
|
|
|
|
Packages for NetBSD, DragonFlyBSD, MirBSD and others can be found on
|
|
[pkgsrc](http://pkgsrc.se/sysutils/ncdu).
|
|
|
|
A port to z/OS is available [here](https://dovetail.com/community/ncdu.html).
|
|
|
|
## Similar projects
|
|
|
|
- [Duc](http://duc.zevv.nl/) - Multiple user interfaces.
|
|
- [gt5](http://gt5.sourceforge.net/) - Quite similar to ncdu, but a different approach.
|
|
- [tdu](http://webonastick.com/tdu/) - Another small ncurses-based disk usage visualization utility.
|
|
- [tdu](https://bitbucket.org/josephpaul0/tdu) - Go command-line tool with ncdu JSON export.
|
|
- [TreeSize](http://treesize.sourceforge.net/) - GTK, using a treeview.
|
|
- [Baobab](http://www.marzocca.net/linux/baobab.html) - GTK, using pie-charts, a treeview and a treemap. Comes with GNOME.
|
|
- [GdMap](http://gdmap.sourceforge.net/) - GTK, with a treemap display.
|
|
- [Filelight](http://www.methylblue.com/filelight/) - KDE, using pie-charts.
|
|
- [KDirStat](http://kdirstat.sourceforge.net/) - KDE, with a treemap display.
|
|
- [QDiskUsage](http://qt-apps.org/content/show.php/QDiskUsage?content=107012) - Qt, using pie-charts.
|
|
- [xdiskusage](http://xdiskusage.sourceforge.net/) - FLTK, with a treemap display.
|
|
- [fsv](http://fsv.sourceforge.net/) - 3D visualization.
|
|
- [Philesight](http://zevv.nl/play/code/philesight/) - Web-based clone of Filelight.
|