Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 duf

查看 duf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install duf

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install duf

MacPorts ports tree · sysutils/duf/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add duf

Alpine Linux edge package indexes · duf · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install duf

Debian stable package indexes · duf · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install duf

Fedora Rawhide package metadata · duf · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#duf

nixpkgs package indexes · pkgs/by-name/du/duf/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S duf

Arch Linux sync databases · duf · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install duf

openSUSE Tumbleweed package metadata · duf · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/duf

Scoop official bucket manifest trees · bucket/duf.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id muesli.duf -e

Windows Package Manager source index · muesli.duf · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Disk Usage/Free Utility - a better 'df' alternative

命令和别名

  • duf

历史

项目历史与用法

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.

时间线

  • 2020: v0.1.0 published and the project entered a rapid early release cycle.
  • 2021: 0.6.x releases continued cross-platform packaging.
  • 2022: v0.8.x shipped as the project matured.
  • 2025: v0.9.x releases refreshed the package after a quieter period.

Related projects

  • df is the direct command-line ancestor and comparison point.
  • ncdu is adjacent in disk-usage inspection, but duf focuses on mounted filesystem summaries rather than interactive directory analysis.
  • Other modern CLI rewrites, such as dust and dua-cli, occupy nearby disk-usage territory.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dufcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.9.1
管理器更新时间2026-07-23
本地数据OK
上游当前
检测到的最新版本v0.9.1

https://github.com/muesli/duf

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

duf 0.8.1-2+b9

Disk Usage/Free Utility

https://github.com/muesli/duf

sudo apt install duf
  • Section: utils
  • Architecture: amd64
  • Source Package: duf
  • normalized package name match
  • 匹配方式:Duf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: duf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

duf

nix profile install nixpkgs#duf
  • normalized package name match
  • 匹配方式:Duf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/duf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

duf 0.8.1-1build1

Disk Usage/Free Utility

https://github.com/muesli/duf

sudo apt install duf
  • Section: universe/utils
  • Architecture: amd64
  • normalized package name match
  • 匹配方式:Duf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: duf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

duf 0.9.1-r8

Disk Usage/Free Utility

https://github.com/muesli/duf

sudo apk add duf
  • License: MIT
  • Architecture: x86_64
  • Source Package: duf
  • 1 提供
  • normalized package name match
  • 匹配方式:Duf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

duf-doc 0.9.1-r8

Disk Usage/Free Utility (documentation)

https://github.com/muesli/duf

sudo apk add duf-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: duf
  • normalized package name match
  • 匹配方式:Duf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

duf 0.9.1-3.fc44

Disk Usage/Free Utility - a better 'df' alternative

https://github.com/muesli/duf

sudo dnf install duf
  • License: Apache-2.0 AND BSD-3-Clause AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: duf
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Duf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: duf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

duf 0.9.1-1

Disk Usage/Free Utility

https://github.com/muesli/duf

sudo pacman -S duf
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Duf
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: duf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

duf 0.9.1-1.4

Disk Usage/Free Utility

https://github.com/muesli/duf

sudo zypper install duf
  • License: MIT
  • Category: System/Management
  • Architecture: x86_64
  • Source Package: duf
  • 1 提供
  • normalized package name match
  • 匹配方式:Duf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: duf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

duf

sudo port install duf
  • normalized package name match
  • 匹配方式:Duf
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/duf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/duf

scoop install main/duf
  • normalized package name match
  • 匹配方式:Duf
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/duf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

muesli.duf

winget install --id muesli.duf -e
  • normalized package name match
  • 匹配方式:Duf
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: muesli.duf from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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