Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, pacman, apk, Nix, scoop, winget 安装 dua-cli

查看 dua-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dua-cli

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dua-cli

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

Linux

Fedora dnf已验证 · 92%
sudo dnf install dua-cli

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

Arch Linux pacman已验证 · 92%
sudo pacman -S dua-cli

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

Alpine Linux apk已验证 · 92%
sudo apk add dua

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

Nix已验证 · 92%
nix profile install nixpkgs#dua

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

Windows

Scoop已验证 · 92%
scoop install main/dua

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

Windows Package Manager已验证 · 92%
winget install --id Byron.dua-cli -e

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

概览

软件包摘要

View disk space usage and delete unwanted data, fast

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
duacli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.38.1
管理器更新时间2026-07-20
本地数据OK
上游当前
检测到的最新版本v2.38.1

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:dua-cli
版本2.38.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/dua-cli
主页https://lib.rs/crates/dua-cli
仓库https://github.com/Byron/dua-cli
上游文档https://github.com/Byron/dua-cli#readme
许可证MIT
源码归档https://github.com/Byron/dua-cli/archive/refs/tags/v2.38.1.tar.gz
最后更新2026-07-20T09:14:14Z
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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