Automic VaultAutomic Vault

brew

Install duf with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Disk Usage/Free Utility - a better 'df' alternative. Version 0.9.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install duf

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install duf

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

Linux

Alpine Linux apkverified · 92%
sudo apk add duf

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

Debian aptverified · 92%
sudo apt install duf

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

Fedora dnfverified · 92%
sudo dnf install duf

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

Nixverified · 92%
nix profile install nixpkgs#duf

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

Arch Linux pacmanverified · 92%
sudo pacman -S duf

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

openSUSE zypperverified · 92%
sudo zypper install duf

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

Windows

Scoopverified · 92%
scoop install main/duf

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

Windows Package Managerverified · 92%
winget install --id muesli.duf -e

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

overview

Package summary

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

Commands and aliases

  • duf

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

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 8 platform targets.
  • Build metadata lists 1 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.

executables

Installed executables

CommandKindExposureNote
dufcliglobal 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 version0.9.1
manager updated
local dataok
upstreamcurrent
latest detectedv0.9.1

https://github.com/muesli/duf

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:duf
Version0.9.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/duf
Homepagehttps://github.com/muesli/duf
Repositoryhttps://github.com/muesli/duf
Upstream docshttps://github.com/muesli/duf#readme
LicenseMIT
Source archivehttps://github.com/muesli/duf/archive/refs/tags/v0.9.1.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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%

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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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

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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment