macOS
brew install ncdulocal Homebrew formula metadata
sudo port install ncduMacPorts ports tree · sysutils/ncdu/Portfile · source: api.github.com
brew
NCurses Disk Usage. Version 2.9.2 via Homebrew; verified 2026-06-14.
install
brew install ncdulocal Homebrew formula metadata
sudo port install ncduMacPorts ports tree · sysutils/ncdu/Portfile · source: api.github.com
sudo apk add ncduAlpine Linux edge package indexes · ncdu · source: dl-cdn.alpinelinux.org
sudo apt install ncduDebian stable package indexes · ncdu · source: deb.debian.org
sudo dnf install ncduFedora Rawhide package metadata · ncdu · source: dl.fedoraproject.org
nix profile install nixpkgs#ncdunixpkgs package indexes · pkgs/by-name/nc/ncdu/package.nix · source: api.github.com
sudo pacman -S ncduArch Linux sync databases · ncdu · source: geo.mirror.pkgbuild.com
sudo zypper install ncduopenSUSE Tumbleweed package metadata · ncdu · source: download.opensuse.org
overview
NCurses Disk Usage
history
ncdu, NCurses Disk Usage, is a text-mode disk usage analyzer built for finding space hogs where a graphical disk viewer is unavailable or unwanted. Upstream explicitly frames it as fast, simple, easy to use, and portable across POSIX-like systems.
The 1.x release history reaches a first stable release on 2007-04-06. The project matured around practical filesystem inspection: deletion from the UI in 1.1, apparent-size/disk-usage toggling and refresh in 1.3, hard-link detection in 1.6, export/import workflows in 1.9, extended file information in 1.13, and many portability fixes for Linux, macOS, Cygwin, and other Unix-like environments.
The project later split into a maintained C 1.x branch and a Zig 2.x branch. The 2.0 beta line began on 2021-07-22 with features based on ncdu 1.16, lower memory use in many scenarios, and improved hard-link counting; 2.0 followed on 2021-12-21 requiring Zig 0.9. Upstream describes 1.x as an LTS C version that lags on features and performance but remains maintained and usable.
ncdu is the standout adoption story in this batch. It is packaged across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, MacPorts, and other ecosystems, and the Homebrew formula API response consulted for this July 2026 batch reported 2,878 install-on-request events in 30 days and 56,718 in 365 days.
The common package-nerd workflow is `ncdu /path` on servers, containers, build machines, and full developer laptops, followed by keyboard navigation into large directories and cautious deletion from inside the TUI. It is also used non-interactively by exporting scans with `-o` and reloading them with `-f`, which is useful when collecting filesystem data from a remote or restricted environment and inspecting it later.
ncdu is a canonical example of a small Unix tool that beats heavier GUI alternatives for a frequent operations problem. It sits next to `du`, `find`, and `df`: not replacing them, but turning their disk-usage data into an interactive browser that is comfortable over SSH.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/ncdu.conf~/.config/ncdu/configexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ncdu | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:ncdu |
|---|---|
| Version | 2.9.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ncdu |
| Homepage | https://dev.yorhel.nl/ncdu |
| Repository | https://code.blicky.net/yorhel/ncdu |
| Upstream docs | https://dev.yorhel.nl/ncdu |
| License | MIT |
| Source archive | https://dev.yorhel.nl/download/ncdu-2.9.2.tar.gz |
| Last updated | 2026-06-14T14:13:25-04:00 |
| Pulse | updated |
| Dependencies | ncurses, zstd |
| Build dependencies | pkgconf, zig@0.15 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ncdu |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ncdu 1.22-1
ncurses disk usage viewer
sudo apt install ncduncdu
nix profile install nixpkgs#ncduncdu 1.19-0.1
ncurses disk usage viewer
sudo apt install ncduncdu 1.22-r2
Text-based disk usage viewer
sudo apk add ncduncdu-doc 1.22-r2
Text-based disk usage viewer (documentation)
sudo apk add ncdu-docncdu 2.9.2-2.fc44
Text-based disk usage viewer
sudo dnf install ncduncdu 2.9.2-1
Disk usage analyzer with an ncurses interface
sudo pacman -S ncduncdu 1.22-1.3
NCurses Disk Usage
sudo zypper install ncduncdu
sudo port install ncdusource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.