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.
See the ncdu 2 release announcement for information about the differences between this Zig implementation (2.x) and the C version (1.x).
- Zig 0.12 or 0.13.
- Some sort of POSIX-like OS
- ncurses
- libzstd
You can use the Zig build system if you're familiar with that.
There's also a handy Makefile that supports the typical targets, e.g.:
make
sudo make install PREFIX=/usr
Important
This repo is upload from https://dev.yorhel.nl/ncdu, maybe diverged from the origin.
- Duc - Multiple user interfaces.
- gt5 - Quite similar to ncdu, but a different approach.
- gdu - Go disk usage analyzer inspired by ncdu.
- dua - Rust disk usage analyzer with a CLI.
- diskonaut - Rust disk usage analyzer with a TUI.
- godu - Another Go disk usage analyzer, with a slightly different browser UI.
- tdu - Go command-line tool with ncdu JSON export.
- 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.
- QDirStat - Qt, with a treemap display.
- K4DirStat - Qt, treemap.
- xdiskusage - FLTK, with a treemap display.
- fsv - 3D visualization.