# duf を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

duf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:duf
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install duf
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install duf
```

  証拠: MacPorts ports tree: sysutils/duf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add duf
```

  証拠: Alpine Linux edge package indexes: duf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install duf
```

  証拠: Debian stable package indexes: duf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install duf
```

  証拠: Fedora Rawhide package metadata: duf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#duf
```

  証拠: nixpkgs package indexes: pkgs/by-name/du/duf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S duf
```

  証拠: Arch Linux sync databases: duf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install duf
```

  証拠: openSUSE Tumbleweed package metadata: duf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/duf
```

  証拠: Scoop official bucket manifest trees: bucket/duf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id muesli.duf -e
```

  証拠: Windows Package Manager source index: muesli.duf from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:duf
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.9.1
- **ソース概要:** Disk Usage/Free Utility - a better 'df' alternative
- **ホームページ:** <https://github.com/muesli/duf>
- **リポジトリ:** <https://github.com/muesli/duf>
- **最終更新:** 2026-07-25T14:21:58-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- duf (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.9.1
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/muesli/duf>
- <https://api.github.com/repos/muesli/duf/releases?per_page=100>
- <https://formulae.brew.sh/formula/duf>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - duf - 0.8.1-2+b9: normalized package name match | Debian stable package indexes: duf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Disk Usage/Free Utility | https://github.com/muesli/duf
- Nix - duf: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/duf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - duf - 0.8.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: duf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Disk Usage/Free Utility | https://github.com/muesli/duf
- apk - duf - 0.9.1-r9: normalized package name match | Alpine Linux edge package indexes: duf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Disk Usage/Free Utility | https://github.com/muesli/duf
- apk - duf-doc - 0.9.1-r9: normalized package name match | Alpine Linux edge package indexes: duf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Disk Usage/Free Utility (documentation) | https://github.com/muesli/duf
- dnf - duf - 0.9.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: duf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Disk Usage/Free Utility - a better 'df' alternative | https://github.com/muesli/duf
- pacman - duf - 0.9.1-1: normalized package name match | Arch Linux sync databases: duf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Disk Usage/Free Utility | https://github.com/muesli/duf
- zypper - duf - 0.9.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: duf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Disk Usage/Free Utility | https://github.com/muesli/duf
- MacPorts - duf: normalized package name match | MacPorts ports tree: sysutils/duf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/duf: normalized package name match | Scoop official bucket manifest trees: bucket/duf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - muesli.duf: normalized package name match | Windows Package Manager source index: muesli.duf from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/duf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/duf.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
