Automic VaultAutomic Vault

brew

Install ncdu with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

NCurses Disk Usage. Version 2.9.2 via Homebrew; verified 2026-06-14.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ncdu

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install ncdu

MacPorts ports tree · sysutils/ncdu/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add ncdu

Alpine Linux edge package indexes · ncdu · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install ncdu

Debian stable package indexes · ncdu · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install ncdu

Fedora Rawhide package metadata · ncdu · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#ncdu

nixpkgs package indexes · pkgs/by-name/nc/ncdu/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S ncdu

Arch Linux sync databases · ncdu · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install ncdu

openSUSE Tumbleweed package metadata · ncdu · source: download.opensuse.org

overview

Package summary

NCurses Disk Usage

Commands and aliases

  • ncdu

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2007-04-06: ncdu 1.0 first stable release.
  • 2012-09-27: 1.9 added dump-to-file and load-from-file workflows.
  • 2018-01-29: 1.13 added extended information mode and experimental color support.
  • 2021-07-22: 2.0-beta1 announced the Zig branch based on ncdu 1.16.
  • 2025-03-05: 1.22 and 2.8 landed on the maintained C and Zig lines.

Related projects

  • du, ncurses, Zig, POSIX filesystems

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/ncdu.conf~/.config/ncdu/config

executables

Installed executables

CommandKindExposureNote
ncducliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.9.2
manager updated2026-06-14
local dataok
upstreamnot checked
latest detectednot detected

https://dev.yorhel.nl/ncdu

install metadata

Package metadata

Package keybrew:ncdu
Version2.9.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ncdu
Homepagehttps://dev.yorhel.nl/ncdu
Repositoryhttps://code.blicky.net/yorhel/ncdu
Upstream docshttps://dev.yorhel.nl/ncdu
LicenseMIT
Source archivehttps://dev.yorhel.nl/download/ncdu-2.9.2.tar.gz
Last updated2026-06-14T14:13:25-04:00
Pulseupdated
Dependenciesncurses, zstd
Build dependenciespkgconf, zig@0.15
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namencdu
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

ncdu 1.22-1

ncurses disk usage viewer

https://dev.yorhel.nl/ncdu/

sudo apt install ncdu
  • Section: admin
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Ncdu
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ncdu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ncdu

nix profile install nixpkgs#ncdu
  • normalized package name match
  • Matched by: Ncdu
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nc/ncdu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ncdu 1.19-0.1

ncurses disk usage viewer

https://dev.yorhel.nl/ncdu/

sudo apt install ncdu
  • Section: universe/admin
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Ncdu
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ncdu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ncdu 1.22-r2

Text-based disk usage viewer

https://dev.yorhel.nl/ncdu

sudo apk add ncdu
  • License: MIT
  • Architecture: x86_64
  • Source Package: ncdu
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ncdu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ncdu from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

ncdu-doc 1.22-r2

Text-based disk usage viewer (documentation)

https://dev.yorhel.nl/ncdu

sudo apk add ncdu-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: ncdu
  • normalized package name match
  • Matched by: Ncdu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ncdu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

ncdu 2.9.2-2.fc44

Text-based disk usage viewer

https://dev.yorhel.nl/ncdu/

sudo dnf install ncdu
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ncdu
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ncdu
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ncdu from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

ncdu 2.9.2-1

Disk usage analyzer with an ncurses interface

https://dev.yorhel.nl/ncdu

sudo pacman -S ncdu
  • License: MIT
  • Architecture: x86_64
  • 5 dependencies
  • normalized package name match
  • Matched by: Ncdu
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ncdu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

ncdu 1.22-1.3

NCurses Disk Usage

https://dev.yorhel.nl/ncdu/

sudo zypper install ncdu
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ncdu
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ncdu
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ncdu from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

ncdu

sudo port install ncdu
  • normalized package name match
  • Matched by: Ncdu
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/ncdu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment