# Install dum with Homebrew, apk, Nix, scoop

Npm scripts runner written in Rust. Version 0.1.20 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#dum.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dum
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dum
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:dum
- **Package manager:** Homebrew
- **Version:** 0.1.20
- **Source summary:** Npm scripts runner written in Rust
- **Homepage:** <https://github.com/egoist/dum>
- **Repository:** <https://github.com/egoist/dum>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dum (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.1.20
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- 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)


## Sources

- 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
