# 使用 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
- **版本:** 0.1.20
- **来源摘要:** Npm scripts runner written in Rust
- **主页:** <https://github.com/egoist/dum>
- **仓库:** <https://github.com/egoist/dum>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dum (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.1.20
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
