# Install di with Homebrew, apt, MacPorts, Nix, zypper

Advanced df-like disk information utility. Version 6.2.2.2 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install di
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install di
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: di from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:di
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/di>
- **Version:** 6.2.2.2
- **Source summary:** Advanced df-like disk information utility
- **Homepage:** <https://diskinfo-di.sourceforge.io/>
- **Repository:** <https://sourceforge.net/p/diskinfo-di/code>
- **Upstream docs:** <https://diskinfo-di.sourceforge.io/>
- **License:** Zlib
- **Source archive:** <https://downloads.sourceforge.net/project/diskinfo-di/di-6.2.2.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- di (cli)
- di (alias)

## Build dependencies

- cmake
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.2.2.2
- Local data: ok
- Upstream repository: https://diskinfo-di.sourceforge.io/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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.3: normalized package name match | openSUSE Tumbleweed package metadata: di from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Disk Information Utility | https://diskinfo-di.sourceforge.io/
- zypper - di-devel - 6.2.2.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: di-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for di | https://diskinfo-di.sourceforge.io/
- zypper - libdi6 - 6.2.2.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libdi6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [gdu](https://www.automicvault.com/pkg/brew/gdu/) - Shares av.db curated category or tags: cli, disk-usage, storage, system.
- [ncdu](https://www.automicvault.com/pkg/brew/ncdu/) - Shares av.db curated category or tags: cli, disk-usage, storage, system.
- [device-mapper](https://www.automicvault.com/pkg/brew/device-mapper/) - Shares av.db curated category or tags: cli, storage, system.
- [disktype](https://www.automicvault.com/pkg/brew/disktype/) - Shares av.db curated category or tags: cli, storage, system.
- [dua-cli](https://www.automicvault.com/pkg/brew/dua-cli/) - Shares av.db curated category or tags: cli, disk-usage, storage, system.
- [duc](https://www.automicvault.com/pkg/brew/duc/) - Shares av.db curated category or tags: cli, disk-usage, storage, system.
- [fio](https://www.automicvault.com/pkg/brew/fio/) - Shares av.db curated category or tags: cli, storage, system.
- [gptfdisk](https://www.automicvault.com/pkg/brew/gptfdisk/) - Shares av.db curated category or tags: cli, storage, system.
- [gptsync](https://www.automicvault.com/pkg/brew/gptsync/) - Local package facts share a topical domain. Shared terms: cli, storage, system.

## Combined YAML source

View the package source record on GitHub. [combined/di.yml](https://github.com/automic-vault/db/blob/main/combined/di.yml)


## Sources

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