# 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. Also installable with debian: sudo apt install di.

## 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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:di
- **Package manager:** Homebrew
- **Version:** 6.2.2.2
- **Source summary:** Advanced df-like disk information utility
- **Homepage:** <https://diskinfo-di.sourceforge.io/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- di (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 6.2.2.2
## 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

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


## Combined YAML source

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


## Sources

- 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
