macOS
brew install duflocal Homebrew formula metadata
sudo port install dufMacPorts ports tree · sysutils/duf/Portfile · 来源: api.github.com
安装
brew install duflocal Homebrew formula metadata
sudo port install dufMacPorts ports tree · sysutils/duf/Portfile · 来源: api.github.com
sudo apk add dufAlpine Linux edge package indexes · duf · 来源: dl-cdn.alpinelinux.org
sudo dnf install dufFedora Rawhide package metadata · duf · 来源: dl.fedoraproject.org
nix profile install nixpkgs#dufnixpkgs package indexes · pkgs/by-name/du/duf/package.nix · 来源: api.github.com
sudo pacman -S dufArch Linux sync databases · duf · 来源: geo.mirror.pkgbuild.com
sudo zypper install dufopenSUSE Tumbleweed package metadata · duf · 来源: download.opensuse.org
scoop install main/dufScoop official bucket manifest trees · bucket/duf.json · 来源: api.github.com
winget install --id muesli.duf -eWindows Package Manager source index · muesli.duf · 来源: cdn.winget.microsoft.com
概览
Disk Usage/Free Utility - a better 'df' alternative
历史
duf, short for Disk Usage/Free Utility, is a Go-based replacement for df that presents disk and inode usage in a friendlier terminal table. It became one of the recognizable modern Unix-tool rewrites: small scope, nicer defaults, JSON output, and cross-platform packages.
The public release series started in September 2020 and moved quickly through several 0.x releases. The README positions duf as a better df alternative for Linux, BSD, macOS, and Windows, with color, sorting, grouping, filtering, and JSON output.
Later releases kept the same core shape instead of expanding into a full disk analyzer. That stable scope is part of its appeal: it modernizes the one command people already know without replacing larger tools such as ncdu.
duf's README documents packaging across Arch, Debian and Ubuntu, Fedora, Nix, Void, Gentoo, Solus, FreeBSD, OpenBSD, Homebrew, MacPorts, Chocolatey, Scoop, and Termux. Its broad package-manager footprint and GitHub popularity made it a common recommendation in terminal-tool lists.
Typical use is simply running duf to inspect mounted filesystems, then adding filters for mount points, filesystem types, table groups, columns, or sorting. JSON output makes it useful in scripts and monitoring checks where df's human output is awkward.
duf is package-nerd shorthand for the wave of polished, single-purpose Go and Rust replacements for classic Unix commands. It keeps df's job but adds terminal-aware output and packaging for every major desktop and server environment.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
duf | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:duf |
|---|---|
| 版本 | 0.9.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/duf |
| 主页 | https://github.com/muesli/duf |
| 仓库 | https://github.com/muesli/duf |
| 上游文档 | https://github.com/muesli/duf#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/muesli/duf/archive/refs/tags/v0.9.1.tar.gz |
| 最后更新 | 2026-07-23T00:38:45-04:00 |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | duf |
| 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 软件包链接分开显示。
duf 0.8.1-2+b9
Disk Usage/Free Utility
sudo apt install dufduf
nix profile install nixpkgs#dufduf 0.8.1-1build1
Disk Usage/Free Utility
sudo apt install dufduf 0.9.1-r8
Disk Usage/Free Utility
sudo apk add dufduf-doc 0.9.1-r8
Disk Usage/Free Utility (documentation)
sudo apk add duf-docduf 0.9.1-3.fc44
Disk Usage/Free Utility - a better 'df' alternative
sudo dnf install dufduf 0.9.1-1
Disk Usage/Free Utility
sudo pacman -S dufduf 0.9.1-1.4
Disk Usage/Free Utility
sudo zypper install dufduf
sudo port install dufmain/duf
scoop install main/dufmuesli.duf
winget install --id muesli.duf -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.