Automic VaultAutomic Vault

brew

Install dua-cli with Homebrew, dnf, MacPorts, pacman, apk, Nix, scoop, winget

View disk space usage and delete unwanted data, fast. Version 2.37.1 via Homebrew; verified 2026-06-29.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dua-cli

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install dua-cli

MacPorts ports tree · sysutils/dua-cli/Portfile · source: api.github.com

Linux

Fedora dnfverified · 92%
sudo dnf install dua-cli

Fedora Rawhide package metadata · dua-cli · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S dua-cli

Arch Linux sync databases · dua-cli · source: geo.mirror.pkgbuild.com

Alpine Linux apkverified · 92%
sudo apk add dua

Alpine Linux edge package indexes · dua · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#dua

nixpkgs package indexes · pkgs/by-name/du/dua/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/dua

Scoop official bucket manifest trees · bucket/dua.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Byron.dua-cli -e

Windows Package Manager source index · Byron.dua-cli · source: cdn.winget.microsoft.com

overview

Package summary

View disk space usage and delete unwanted data, fast

Commands and aliases

  • dua

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
duacliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.37.1
manager updated2026-06-29
local dataok
upstreamcurrent
latest detectedv2.37.1

https://github.com/Byron/dua-cli

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:dua-cli
Version2.37.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dua-cli
Homepagehttps://lib.rs/crates/dua-cli
Repositoryhttps://github.com/Byron/dua-cli
Upstream docshttps://github.com/Byron/dua-cli#readme
LicenseMIT
Source archivehttps://github.com/Byron/dua-cli/archive/refs/tags/v2.37.1.tar.gz
Last updated2026-06-29T10:45:44Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedua-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

dnf95%

dua-cli 2.34.0-1.fc45

Tool to conveniently learn about the disk usage of directories

https://crates.io/crates/dua-cli

sudo dnf install dua-cli
  • License: MIT AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-dua-cli
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Dua Cli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: dua-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

dua-cli 2.34.0-2

A tool to conveniently learn about the disk usage of directories, fast!

https://github.com/Byron/dua-cli

sudo pacman -S dua-cli
  • License: MIT
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Dua Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dua-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

dua-cli

sudo port install dua-cli
  • normalized package name match
  • Matched by: Dua Cli
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/dua-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

dua

nix profile install nixpkgs#dua
  • installed executable or alias match
  • Matched by: Dua
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/dua/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk92%

dua 2.34.0-r0

Tool to conveniently learn about the usage of disk space

https://github.com/Byron/dua-cli

sudo apk add dua
  • License: MIT
  • Architecture: x86_64
  • Source Package: dua
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Dua
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dua from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

dua-bash-completion 2.34.0-r0

Bash completions for dua

https://github.com/Byron/dua-cli

sudo apk add dua-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: dua
  • installed executable or alias match
  • Matched by: Dua
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dua-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

dua-fish-completion 2.34.0-r0

Fish completions for dua

https://github.com/Byron/dua-cli

sudo apk add dua-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: dua
  • installed executable or alias match
  • Matched by: Dua
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dua-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

dua-zsh-completion 2.34.0-r0

Zsh completions for dua

https://github.com/Byron/dua-cli

sudo apk add dua-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: dua
  • installed executable or alias match
  • Matched by: Dua
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dua-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Scoop92%

main/dua

scoop install main/dua
  • installed executable or alias match
  • Matched by: Dua
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/dua.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

Byron.dua-cli

winget install --id Byron.dua-cli -e
  • installed executable or alias match
  • Matched by: Dua
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Byron.dua-cli from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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