# dua-cli mit Homebrew, dnf, MacPorts, pacman, apk, Nix, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für dua-cli in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:dua-cli
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install dua-cli
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dua-cli
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install dua-cli
```

  Evidenz: Fedora Rawhide package metadata: dua-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S dua-cli
```

  Evidenz: Arch Linux sync databases: dua-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- apk (92%):

```sh
sudo apk add dua
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dua
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/dua
```

  Evidenz: Scoop official bucket manifest trees: bucket/dua.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Byron.dua-cli -e
```

  Evidenz: Windows Package Manager source index: Byron.dua-cli from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:dua-cli
- **Paketmanager:** Homebrew
- **Version:** 2.41.0
- **Quellzusammenfassung:** View disk space usage and delete unwanted data, fast
- **Homepage:** <https://lib.rs/crates/dua-cli>
- **Repository:** <https://github.com/Byron/dua-cli>
- **Zuletzt aktualisiert:** 2026-08-03T15:20:09Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- dua (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 2.41.0
## Projektgeschichte und Nutzung

dua-cli is a Rust disk-usage analyzer whose installed command is `dua`. It combines fast parallel directory scanning with an optional interactive terminal UI for exploring and deleting disk usage.

### Projektgeschichte

The public GitHub repository was created in 2019, and crates.io records the crate shortly after. The README explains the name as 'Disk Usage Analyzer' and emphasizes parallel scanning that can saturate SSDs, plus an interactive mode designed with multi-stage deletion safeguards.

The project builds on Rust ecosystem libraries such as `jwalk` for parallel filesystem walking and `petgraph` for interactive graph handling. Its README also documents the removal of older terminal backend complexity in favor of crossterm.

### Adoptionsgeschichte

dua-cli is widely packaged for a Rust CLI of its size: Homebrew, MacPorts, Fedora, Arch, Nix, NetBSD/pkgsrc, Scoop, WinGet, Void Linux, Cargo, and binary release installers are all documented upstream. Crates.io metadata shows more than two hundred thousand total downloads, while Homebrew analytics show steady formula installs.

### Wie es verwendet wird

Basic usage mirrors `du`: run `dua`, `dua *`, or `dua aggregate` to inspect directory sizes. The `dua interactive` or `dua i` mode opens a terminal browser for navigating large trees and deleting unwanted data with confirmation steps. The optional config file controls interactive behavior such as Escape-key navigation.

### Warum Paket-Nerds sich dafür interessieren

dua-cli is significant as part of the Rust replacement-tool lineage: a faster, friendlier take on classic Unix disk-usage workflows, packaged as a single CLI across many operating systems. It is also a useful comparison point against `du`, `ncdu`, `dust`, `gdu`, and graphical disk analyzers.

### Zeitleiste

- 2019: Public Byron/dua-cli GitHub repository created.
- 2019: Crates.io records the `dua-cli` crate.
- 2020s: Upstream README documents installation through Homebrew, MacPorts, Cargo, Linux package managers, Scoop, WinGet, Nix, and binary releases.

### Related projects

- The README lists `du`, `dust`, `dutree`, `pdu`, `ncdu`, `gdu`, `godu`, GNOME Disk Usage Analyzer, and KDE Filelight as similar programs. It also acknowledges `jwalk` as a core reason the CLI could focus on user-facing behavior.

### Quellen

- <https://github.com/Byron/dua-cli>
- <https://github.com/Byron/dua-cli#readme>
- <https://crates.io/api/v1/crates/dua-cli>
- <https://formulae.brew.sh/api/formula/dua-cli.json>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- dnf - dua-cli - 2.38.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: dua-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tool to conveniently learn about the disk usage of directories | https://crates.io/crates/dua-cli
- pacman - dua-cli - 2.41.0-1: normalized package name match | Arch Linux sync databases: dua-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool to conveniently learn about the disk usage of directories, fast! | https://github.com/Byron/dua-cli
- MacPorts - dua-cli: normalized package name match | MacPorts ports tree: sysutils/dua-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - dua: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/du/dua/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dua - 2.34.0-r0: installed executable or alias match | Alpine Linux edge package indexes: dua from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool to conveniently learn about the usage of disk space | https://github.com/Byron/dua-cli
- apk - dua-bash-completion - 2.34.0-r0: installed executable or alias match | Alpine Linux edge package indexes: dua-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for dua | https://github.com/Byron/dua-cli
- apk - dua-fish-completion - 2.34.0-r0: installed executable or alias match | Alpine Linux edge package indexes: dua-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for dua | https://github.com/Byron/dua-cli
- apk - dua-zsh-completion - 2.34.0-r0: installed executable or alias match | Alpine Linux edge package indexes: dua-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for dua | https://github.com/Byron/dua-cli
- Scoop - main/dua: installed executable or alias match | Scoop official bucket manifest trees: bucket/dua.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Byron.dua-cli: installed executable or alias match | Windows Package Manager source index: Byron.dua-cli from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## Quellen

- 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
