# 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/duf>
- **バージョン:** 0.9.1
- **ソース概要:** Disk Usage/Free Utility - a better 'df' alternative
- **ホームページ:** <https://github.com/muesli/duf>
- **リポジトリ:** <https://github.com/muesli/duf>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/muesli/duf/archive/refs/tags/v0.9.1.tar.gz>
- **最終更新:** 2026-07-25T14:21:58-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- duf (cli)
- duf (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.9.1
- マネージャ更新日: 2026-07-25
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/muesli/duf
- 検出された最新: v0.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

## ソースデータベース詳細

- **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:** head, stable

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [dfc](https://pkg.so/ja/brew/dfc/) - Shares pkgdb curated category or tags: cli, disk-usage, filesystem, monitoring, system.
- [dysk](https://pkg.so/ja/brew/dysk/) - Shares pkgdb curated category or tags: cli, disk-usage, filesystem, system.
- [dua-cli](https://pkg.so/ja/brew/dua-cli/) - Shares pkgdb curated category or tags: cli, disk-usage, filesystem, system.
- [erdtree](https://pkg.so/ja/brew/erdtree/) - Shares pkgdb curated category or tags: cli, disk-usage, filesystem, system.
- [diskonaut](https://pkg.so/ja/brew/diskonaut/) - Shares pkgdb curated category or tags: cli, disk-usage, filesystem, system.
- [duc](https://pkg.so/ja/brew/duc/) - Shares pkgdb curated category or tags: cli, disk-usage, filesystem, system.
- [diskus](https://pkg.so/ja/brew/diskus/) - Shares pkgdb curated category or tags: cli, disk-usage, filesystem, system.
- [parallel-disk-usage](https://pkg.so/ja/brew/parallel-disk-usage/) - Shares pkgdb curated category or tags: cli, disk-usage, filesystem, system.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
