summaryrefslogtreecommitdiff
path: root/dat/ncdu.md
blob: e1c6b68eb56634f9a573da4f1b0a319b9d401814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
% 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.16 ([ncdu-1.16.tar.gz](/download/ncdu-1.16.tar.gz) - [changes](/ncdu/changes))

    I also have convenient static binaries for Linux
    [i486](/download/ncdu-linux-i486-1.16.tar.gz),
    [x86_64](/download/ncdu-linux-x86_64-1.16.tar.gz),
    [ARM](/download/ncdu-linux-arm-1.16.tar.gz) and
    [AArch64](/download/ncdu-linux-aarch64-1.16.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.
- [gdu](https://github.com/dundee/gdu) - Go disk usage analyzer inspired by ncdu.
- [dua](https://github.com/Byron/dua-cli) - Rust disk usage analyzer.
- [godu](https://github.com/viktomas/godu) - Another Go disk usage analyzer, with a slightly different browser UI.
- [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.
- [psHFO](https://github.com/FrankieDevOp/psdu) - Human-friendly du for PowerShell.