# 使用 Homebrew, apk, Nix, scoop 安装 dum

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

## 安装

```sh
sudo av install brew:dum
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dum
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dum
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dum
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/dum
```

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

## 软件包事实

- **软件包键:** brew:dum
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dum>
- **版本:** 0.1.20
- **来源摘要:** Npm scripts runner written in Rust
- **主页:** <https://github.com/egoist/dum>
- **仓库:** <https://github.com/egoist/dum>
- **许可证:** MIT
- **源码归档:** <https://github.com/egoist/dum/archive/refs/tags/v0.1.20.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dum (cli)
- dum (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.1.20
- 本地数据: OK
- 上游仓库: https://github.com/egoist/dum
- 检测到的最新版本: v0.1.20 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

dum is a small Rust command-line tool that targets a very specific Node.js workflow: running package.json scripts and node_modules binaries faster than invoking npm run or npx.

### 项目历史

The project appeared in late 2021 as an experiment by EGOIST to learn Rust while replacing npm run and npx with a native executable. Its README frames the project around startup latency and includes a hyperfine benchmark comparing dum against npm run.

### 采用历史

dum stayed a niche developer-tool package, but it gained enough packaging interest to appear beyond Cargo and GitHub releases, including Homebrew, Scoop, Nix, Alpine packaging, and the Arch AUR. Crates.io and Homebrew metadata show continued releases through the 0.1.x line rather than a large ecosystem.

### 使用方式

Typical use is inside JavaScript and TypeScript repositories: `dum build`, `dum test`, or `dum <bin>` to run package scripts and project-local executables. It also forwards install/add/remove commands to the detected package manager by checking lock files.

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

dum is interesting as part of the post-2020 wave of native, low-latency JavaScript tooling. It does not replace npm, pnpm, or Yarn as a package manager; its significance is as a tiny command shim that packages the speed argument into a Homebrew/Cargo-installable binary.

### 时间线

- 2021: GitHub repository and crates.io package are created.
- 2021: v0.1.2 is published on GitHub Releases.
- 2025: v0.1.20 is published and packaged as Homebrew stable 0.1.20.

### Related projects

- Related tools include npm run, npx, Yarn, pnpm, Bun, and other native JavaScript-development CLIs focused on reducing command startup overhead.

### 来源

- <https://github.com/egoist/dum#readme>
- <https://api.github.com/repos/egoist/dum>
- <https://api.github.com/repos/egoist/dum/releases>
- <https://crates.io/api/v1/crates/dum>
- <https://formulae.brew.sh/formula/dum>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dum
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - dum: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/dum/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dum - 0.1.20-r1: normalized package name match | Alpine Linux edge package indexes: dum from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | An npm scripts runner written in Rust | https://github.com/egoist/dum
- Scoop - main/dum: normalized package name match | Scoop official bucket manifest trees: bucket/dum.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://pkg.so/zh-hans/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [run](https://pkg.so/zh-hans/brew/run/) - Shares pkgdb curated category or tags: cli, developer-tools, scripts, task-runner.
- [just](https://pkg.so/zh-hans/brew/just/) - Shares pkgdb curated category or tags: cli, developer-tools, task-runner.
- [mask](https://pkg.so/zh-hans/brew/mask/) - Shares pkgdb curated category or tags: cli, developer-tools, task-runner.
- [wasm-pack](https://pkg.so/zh-hans/brew/wasm-pack/) - Shares pkgdb curated category or tags: cli, developer-tools, npm, rust.
- [moon](https://pkg.so/zh-hans/brew/moon/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, task-runner.
- [fzf-make](https://pkg.so/zh-hans/brew/fzf-make/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, task-runner.
- [argc](https://pkg.so/zh-hans/brew/argc/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, task-runner.
- [cargo-make](https://pkg.so/zh-hans/brew/cargo-make/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, task-runner.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
