macOS
brew install ncdulocal Homebrew formula metadata
sudo port install ncduMacPorts ports tree · sysutils/ncdu/Portfile · 来源: api.github.com
安装
brew install ncdulocal Homebrew formula metadata
sudo port install ncduMacPorts ports tree · sysutils/ncdu/Portfile · 来源: api.github.com
sudo apk add ncduAlpine Linux edge package indexes · ncdu · 来源: dl-cdn.alpinelinux.org
sudo dnf install ncduFedora Rawhide package metadata · ncdu · 来源: dl.fedoraproject.org
nix profile install nixpkgs#ncdunixpkgs package indexes · pkgs/by-name/nc/ncdu/package.nix · 来源: api.github.com
sudo pacman -S ncduArch Linux sync databases · ncdu · 来源: geo.mirror.pkgbuild.com
sudo zypper install ncduopenSUSE Tumbleweed package metadata · ncdu · 来源: download.opensuse.org
概览
NCurses Disk 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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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/config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ncdu | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ncdu |
|---|---|
| 版本 | 2.9.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ncdu |
| 主页 | https://dev.yorhel.nl/ncdu |
| 仓库 | https://code.blicky.net/yorhel/ncdu |
| 上游文档 | https://dev.yorhel.nl/ncdu |
| 许可证 | MIT |
| 源码归档 | https://dev.yorhel.nl/download/ncdu-2.9.2.tar.gz |
| 最后更新 | 2026-06-14T14:13:25-04:00 |
| Pulse | updated |
| 依赖 | ncurses, zstd |
| 构建依赖 | pkgconf, zig@0.15 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 ncdu来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.