Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman 安装 diskus

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install diskus

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install diskus

MacPorts ports tree · sysutils/diskus/Portfile · 来源: api.github.com

Linux

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

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

Fedora dnf已验证 · 92%
sudo dnf install diskus

Fedora Rawhide package metadata · diskus · 来源: dl.fedoraproject.org

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

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

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

Arch Linux sync databases · diskus · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Minimal, fast alternative to 'du -sh'

命令和别名

  • diskus

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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

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

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

时间线

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

安全态势

风险级别:绿色

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 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/sharkdp/diskus

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:diskus
版本0.9.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/diskus
主页https://github.com/sharkdp/diskus
仓库https://github.com/sharkdp/diskus
上游文档https://github.com/sharkdp/diskus
许可证Apache-2.0 OR MIT
源码归档https://github.com/sharkdp/diskus/archive/refs/tags/v0.9.0.tar.gz
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

diskus

nix profile install nixpkgs#diskus
  • normalized package name match
  • 匹配方式:Diskus
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/di/diskus/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

diskus 0.8.0-r0

fast alternative for du

https://github.com/sharkdp/diskus

sudo apk add diskus
  • License: MIT
  • Architecture: x86_64
  • Source Package: diskus
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Diskus
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: diskus from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

diskus 0.9.0-3.fc45

Minimal, fast alternative to 'du -sh'

https://crates.io/crates/diskus

sudo dnf install diskus
  • License: (MIT OR Apache-2.0) AND MIT AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-diskus
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Diskus
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: diskus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

diskus 0.9.0-2

Minimal, fast alternative to 'du -sh'

https://github.com/sharkdp/diskus

sudo pacman -S diskus
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Diskus
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: diskus from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

diskus

sudo port install diskus
  • normalized package name match
  • 匹配方式:Diskus
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/diskus/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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