# di を Homebrew, apt, MacPorts, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:di
```

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

### macOS

- Homebrew (100%):

```sh
brew install di
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install di
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install di
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#di
```

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

- zypper (92%):

```sh
sudo zypper install di
```

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

## パッケージ情報

- **パッケージキー:** brew:di
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/di>
- **バージョン:** 6.2.2.2
- **ソース概要:** Advanced df-like disk information utility
- **ホームページ:** <https://diskinfo-di.sourceforge.io/>
- **上流ドキュメント:** <https://diskinfo-di.sourceforge.io/>
- **ライセンス:** Zlib
- **ソースアーカイブ:** <https://downloads.sourceforge.net/project/diskinfo-di/di-6.2.2.2.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- cmake
- pkgconf

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 6.2.2.2
- ローカルデータ: OK
- 上流リポジトリ: https://diskinfo-di.sourceforge.io/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

di is a portable disk information utility that expands on the traditional df command. It reports disk usage in configurable formats and accounts for quotas so users can see space available to them rather than only system-wide filesystem capacity.

### プロジェクトの歴史

The official homepage identifies di as a disk information utility and notes copyright from 1994 through 2021 by Brad Lanam. It emphasizes portability across heterogeneous networks and lists a large set of Unix and non-Unix systems to which di has been ported.

### 採用の歴史

di's official homepage documents long-term packaging and user attention: it links current package-manager availability, MacPorts and Homebrew entries for macOS, and articles ranging from a 1995 HP-UX/USR mention through later Linux magazine coverage. Version 5 added a shared library for retrieving disk-space information programmatically.

### 使われ方

The manual documents df-like reporting, file-specific filesystem lookup, selectable block and display sizes, custom output formats, CSV/tabular output, sorting, filesystem include/exclude lists, and quota-aware reporting.

### パッケージ好きにとっての重要性

di matters to package nerds because it is a decades-old portability play: one command that behaves consistently across many Unix variants where df output and filesystem details differ. It is the kind of small sysadmin tool that earns packages in many distributions by smoothing over platform differences.

### タイムライン

- 1994: Official license notice begins Brad Lanam's copyright period for di.
- 1995: Official homepage lists HP-UX/USR article coverage.
- 2002: Official homepage lists Linux Journal coverage.
- Version 5: di adds a shared library API for disk-space information.
- 2026: Official man page generation date shows continued documentation maintenance.

### Related projects

- df is the standard command-line tool di extends and competes with.
- The SourceForge wiki documents the version 5 library API.

### ソース

- <https://diskinfo-di.sourceforge.io/>
- <https://diskinfo-di.sourceforge.io/di.html>
- <https://sourceforge.net/p/diskinfo-di/wiki/Home/>
- <https://sourceforge.net/p/diskinfo-di/code>


## セキュリティノート

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:** di
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - di - 6.0.0-1+b1: normalized package name match | Debian stable package indexes: di from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | advanced df like disk information utility | https://diskinfo-di.sourceforge.io/
- Debian apt - libdi-dev - 6.0.0-1+b1: normalized package name match | Debian stable package indexes: libdi-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Header files for libdi | https://diskinfo-di.sourceforge.io/
- Debian apt - libdi6 - 6.0.0-1+b1: normalized package name match | Debian stable package indexes: libdi6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Common libraries for di | https://diskinfo-di.sourceforge.io/
- Nix - di: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/di/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - di - 4.52-2: normalized package name match | Ubuntu 24.04 LTS package indexes: di from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | advanced df like disk information utility | https://diskinfo-di.sourceforge.io/
- zypper - di - 6.2.2.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: di from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Disk Information Utility | https://diskinfo-di.sourceforge.io/
- zypper - di-devel - 6.2.2.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: di-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for di | https://diskinfo-di.sourceforge.io/
- zypper - libdi6 - 6.2.2.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libdi6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Disk Information Utility share library | https://diskinfo-di.sourceforge.io/
- MacPorts - di: normalized package name match | MacPorts ports tree: sysutils/di/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [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.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/ja/brew/cmake/) - Build dependency declared by Homebrew.
- [ncdu](https://pkg.so/ja/brew/ncdu/) - Shares pkgdb curated category or tags: cli, disk-usage, storage, system.
- [baobab](https://pkg.so/ja/brew/baobab/) - Shares pkgdb curated category or tags: cli, disk-usage, storage, system.
- [btdu](https://pkg.so/ja/brew/btdu/) - Shares pkgdb curated category or tags: cli, disk-usage, storage, system.
- [dua-cli](https://pkg.so/ja/brew/dua-cli/) - Shares pkgdb curated category or tags: cli, disk-usage, storage, system.
- [device-mapper](https://pkg.so/ja/brew/device-mapper/) - Shares pkgdb curated category or tags: cli, storage, system.
- [fio](https://pkg.so/ja/brew/fio/) - Shares pkgdb curated category or tags: cli, storage, system.
- [duc](https://pkg.so/ja/brew/duc/) - Shares pkgdb curated category or tags: cli, disk-usage, storage, system.
- [snapraid](https://pkg.so/ja/brew/snapraid/) - Shares pkgdb curated category or tags: cli, storage, system.

## Combined YAML source

View the package source record on GitHub. [combined/di.yml](https://github.com/mxcl/pkgdb/blob/main/combined/di.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
