macOS
brew install cargo-run-binlocal Homebrew formula metadata
brew
Build, cache, and run binaries from Cargo.toml to avoid global installs. Version 1.7.4 via Homebrew; verified 2026-06-15.
install
brew install cargo-run-binlocal Homebrew formula metadata
sudo apk add cargo-run-binAlpine Linux edge package indexes · cargo-run-bin · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-run-binnixpkgs package indexes · pkgs/by-name/ca/cargo-run-bin/package.nix · source: api.github.com
sudo pacman -S cargo-run-binArch Linux sync databases · cargo-run-bin · source: geo.mirror.pkgbuild.com
overview
Build, cache, and run binaries from Cargo.toml to avoid global installs
history
cargo-run-bin is a Cargo-oriented tool for building, caching, and running project-scoped CLI binaries declared in Cargo.toml instead of installing those tools globally.
The GitHub repository was created in May 2021 and the first crates.io release followed later that month. The README positions the tool as similar to npm run and gomodrun, aimed at preventing team and CI tool-version drift.
crates.io metadata lists it as a Cargo plugin and command-line utility. Batch package facts show packaging across Homebrew, Alpine, Nix, and Arch, and the README also documents distro-package installation paths.
Users declare tools under [package.metadata.bin] or [workspace.metadata.bin] in Cargo.toml, then run cargo bin CRATE to install/cache and execute the requested binary. The README also documents cargo bin --install and cargo bin --sync-aliases for Cargo-extension aliases.
It gives Rust projects a lightweight, Cargo-native answer to pinned developer tooling: tool versions live with the project manifest, which makes onboarding and CI behavior less dependent on whatever happens to be globally installed.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
Cargo.tomlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cargo-bin | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/dustinblackman/cargo-run-bin
install metadata
| Package key | brew:cargo-run-bin |
|---|---|
| Version | 1.7.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cargo-run-bin |
| Homepage | https://dustinblackman.com/posts/why-does-everyone-install-crates-globally/ |
| Repository | https://github.com/dustinblackman/cargo-run-bin |
| Upstream docs | https://github.com/dustinblackman/cargo-run-bin#readme |
| License | MIT |
| Source archive | https://github.com/dustinblackman/cargo-run-bin/archive/refs/tags/v1.7.4.tar.gz |
| Last updated | 2026-06-15T10:20:11-04:00 |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-run-bin |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cargo-run-bin
nix profile install nixpkgs#cargo-run-bincargo-run-bin 1.7.2-r0
Build, cache, and run CLI tools scoped in Cargo.toml
https://github.com/dustinblackman/cargo-run-bin
sudo apk add cargo-run-bincargo-run-bin-doc 1.7.2-r0
Build, cache, and run CLI tools scoped in Cargo.toml (documentation)
https://github.com/dustinblackman/cargo-run-bin
sudo apk add cargo-run-bin-doccargo-run-bin 1.7.4-2
Build, cache, and run CLI tools scoped in Cargo.toml
https://github.com/dustinblackman/cargo-run-bin
sudo pacman -S cargo-run-binsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.