# Install dfc with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Display graphs and colors of file system space/usage. Version 3.1.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:dfc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dfc
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dfc
```

  Evidence: Alpine Linux edge package indexes: dfc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dfc
```

  Evidence: Debian stable package indexes: dfc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dfc
```

  Evidence: Fedora Rawhide package metadata: dfc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dfc
```

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

- pacman (92%):

```sh
sudo pacman -S dfc
```

  Evidence: Arch Linux sync databases: dfc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dfc
```

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

## Package facts

- **Package key:** brew:dfc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dfc>
- **Version:** 3.1.1
- **Source summary:** Display graphs and colors of file system space/usage
- **Homepage:** <https://github.com/Rolinh/dfc>
- **Repository:** <https://github.com/Rolinh/dfc>
- **Upstream docs:** <https://github.com/Rolinh/dfc#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/Rolinh/dfc/releases/download/v3.1.1/dfc-3.1.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dfc (cli)
- dfc (alias)

## Dependencies

- gettext

## Build dependencies

- cmake
- gettext

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.1.1
- Local data: ok
- Upstream repository: https://github.com/Rolinh/dfc
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

dfc is a small terminal utility for reporting filesystem space usage with color and graph-oriented output, plus export formats such as HTML, JSON, and CSV.

### Project history

The official tag history begins in 2012 with the 1.x series and reaches the 3.x series by 2013. The README emphasizes a C/CMake build, minimal runtime dependencies, translated configuration files, and packager-friendly installation options.

### Adoption history

dfc fits the long Unix tradition of disk-usage status tools, but presents filesystem capacity in a more visual terminal format than plain `df`. Its package-manager presence is helped by the README's packager notes and tiny dependency surface.

### How it is used

Users run `dfc` to inspect mounted filesystem space and can customize behavior with a `dfcrc` file under XDG config, `$HOME/.config`, or `$HOME/.dfcrc`.

### Why package nerds care

Package maintainers care about dfc because it is boring in the best way: a small C utility with standard-library runtime needs, optional gettext translation support, and clear install-time knobs for prefix and sysconfdir.

### Timeline

- 2012: v1.0.1 appears in the official tag history.
- 2013: v3.0.x releases are tagged.
- 2017: v3.1.0 and v3.1.1 are tagged.
- 2025: the default branch receives a CMake compatibility fix.

### Related projects

- dfc is related to `df`, terminal monitoring utilities, and filesystem capacity-reporting tools that trade detailed per-file analysis for quick mount-level summaries.

### Sources

- <https://github.com/Rolinh/dfc#readme>
- <https://github.com/Rolinh/dfc/tags>


## Security Notes

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/dfc/dfcrc, ~/.config/dfc/dfcrc, ~/.dfcrc
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dfc
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - dfc - 3.1.1-2: normalized package name match | Debian stable package indexes: dfc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | display file system usage using graph and colors | https://github.com/rolinh/dfc
- Nix - dfc: normalized package name match | nixpkgs package indexes: pkgs/by-name/df/dfc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dfc - 3.1.1-1.2: normalized package name match | Ubuntu 24.04 LTS package indexes: dfc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | display file system usage using graph and colors | https://github.com/rolinh/dfc
- apk - dfc - 3.1.1-r5: normalized package name match | Alpine Linux edge package indexes: dfc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Report file system space usage information with style | https://projects.gw-computing.net/projects/dfc
- apk - dfc-doc - 3.1.1-r5: normalized package name match | Alpine Linux edge package indexes: dfc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Report file system space usage information with style (documentation) | https://projects.gw-computing.net/projects/dfc
- dnf - dfc - 3.1.1-10.fc44: normalized package name match | Fedora Rawhide package metadata: dfc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Report file system space usage information with style | https://github.com/rolinh/dfc
- pacman - dfc - 3.1.1-4: normalized package name match | Arch Linux sync databases: dfc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Display file system space usage using graphs and colors | http://projects.gw-computing.net/projects/dfc
- zypper - dfc - 3.1.1-3.8: normalized package name match | openSUSE Tumbleweed package metadata: dfc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Display file system space usage using graphs and colors | https://github.com/rolinh/dfc
- zypper - dfc-lang - 3.1.1-3.8: normalized package name match | openSUSE Tumbleweed package metadata: dfc-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Translations for package dfc | https://github.com/rolinh/dfc


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [parallel-disk-usage](https://www.automicvault.com/pkg/brew/parallel-disk-usage/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [diskonaut](https://www.automicvault.com/pkg/brew/diskonaut/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system, terminal.
- [duf](https://www.automicvault.com/pkg/brew/duf/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, monitoring, system.
- [agedu](https://www.automicvault.com/pkg/brew/agedu/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [diskus](https://www.automicvault.com/pkg/brew/diskus/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [dua-cli](https://www.automicvault.com/pkg/brew/dua-cli/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [duc](https://www.automicvault.com/pkg/brew/duc/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [dysk](https://www.automicvault.com/pkg/brew/dysk/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
