# Install diskus with Homebrew, apk, dnf, MacPorts, Nix, pacman

Minimal, fast alternative to 'du -sh'. Version 0.9.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:diskus
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install diskus
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install diskus
```

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

### Linux

- apk (92%):

```sh
sudo apk add diskus
```

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

- dnf (92%):

```sh
sudo dnf install diskus
```

  Evidence: Fedora Rawhide package metadata: diskus 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#diskus
```

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

- pacman (92%):

```sh
sudo pacman -S diskus
```

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

## Package facts

- **Package key:** brew:diskus
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/diskus>
- **Version:** 0.9.0
- **Source summary:** Minimal, fast alternative to 'du -sh'
- **Homepage:** <https://github.com/sharkdp/diskus>
- **Repository:** <https://github.com/sharkdp/diskus>
- **Upstream docs:** <https://github.com/sharkdp/diskus>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/sharkdp/diskus/archive/refs/tags/v0.9.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- diskus (cli)
- diskus (alias)

## Build dependencies

- rust

## 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: 0.9.0
- Local data: ok
- Upstream repository: https://github.com/sharkdp/diskus
- Upstream latest detected: v0.9.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

diskus is a Rust command-line utility positioned as a minimal, fast alternative to `du -sh`. It computes the total size of the current directory and focuses on doing that one job quickly, with benchmark comparisons against `du` and other Rust disk-usage tools in the upstream README.

### Project history

The GitHub repository was created in November 2018, and release tags started the same month. Later releases continued through 2025, showing a small but maintained utility rather than a one-off experiment.

### Adoption history

The README documents installation through release packages, Arch, Void, Homebrew, MacPorts, Haiku, NixOS, and Cargo. That mix is typical for sharkdp-style Rust CLIs: useful as standalone binaries, but also easy for distribution maintainers to carry because the behavior is simple and the upstream packaging story is clear.

### How it is used

The usual workflow is simply running `diskus` in a directory to print a human-readable total and byte count. The README also documents disk-usage versus apparent-size behavior and directory counting semantics so users can reason about differences from `du`.

### Why package nerds care

diskus is interesting because it deliberately resists becoming a full disk browser. Its package appeal is the opposite of feature accumulation: a fast, parallelized `du -sh` replacement that complements richer tools such as `dust`.

### Timeline

- 2018-11: GitHub repository created
- 2018-11: early 0.3.x and 0.5.0 releases published
- 2025-12: v0.9.0 release published

### Related projects

- The upstream README compares diskus with `du`, `tin-summer`, and `dust`, and uses `hyperfine` for benchmark runs.

### Sources

- <https://github.com/sharkdp/diskus>
- <https://api.github.com/repos/sharkdp/diskus>
- <https://github.com/sharkdp/diskus/releases/tag/v0.3.0>
- <https://github.com/sharkdp/diskus/releases/tag/v0.9.0>
- <https://formulae.brew.sh/formula/diskus>


## 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:** diskus
- **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

- Nix - diskus: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/diskus/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - diskus - 0.8.0-r0: normalized package name match | Alpine Linux edge package indexes: diskus from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | fast alternative for du | https://github.com/sharkdp/diskus
- dnf - diskus - 0.9.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: diskus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Minimal, fast alternative to 'du -sh' | https://crates.io/crates/diskus
- pacman - diskus - 0.9.0-2: normalized package name match | Arch Linux sync databases: diskus from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Minimal, fast alternative to 'du -sh' | https://github.com/sharkdp/diskus
- MacPorts - diskus: normalized package name match | MacPorts ports tree: sysutils/diskus/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 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.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [dua-cli](https://www.automicvault.com/pkg/brew/dua-cli/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, rust, system.
- [erdtree](https://www.automicvault.com/pkg/brew/erdtree/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, rust, system.
- [parallel-disk-usage](https://www.automicvault.com/pkg/brew/parallel-disk-usage/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, rust, system.
- [agedu](https://www.automicvault.com/pkg/brew/agedu/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [dfc](https://www.automicvault.com/pkg/brew/dfc/) - 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.
- [duc](https://www.automicvault.com/pkg/brew/duc/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [duf](https://www.automicvault.com/pkg/brew/duf/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [dust](https://www.automicvault.com/pkg/brew/dust/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, disk, disk-usage, du, filesystem.
- [diskus](https://www.automicvault.com/pkg/cargo/diskus/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

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