Automic VaultAutomic Vault

brew

Install cargo-run-bin with Homebrew, apk, Nix, pacman

Build, cache, and run binaries from Cargo.toml to avoid global installs. Version 1.7.4 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cargo-run-bin

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add cargo-run-bin

Alpine Linux edge package indexes · cargo-run-bin · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#cargo-run-bin

nixpkgs package indexes · pkgs/by-name/ca/cargo-run-bin/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S cargo-run-bin

Arch Linux sync databases · cargo-run-bin · source: geo.mirror.pkgbuild.com

overview

Package summary

Build, cache, and run binaries from Cargo.toml to avoid global installs

Commands and aliases

  • cargo-bin

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2021: Repository created and first crates.io release published.
  • 2024: v1.7.x releases documented on GitHub.
  • 2026: crates.io reported v1.7.5 as the latest release.

Related projects

  • README compares the workflow to npm run and gomodrun.
  • README says cargo-binstall can be used for prebuilt binary installs when available.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
Cargo.toml

executables

Installed executables

CommandKindExposureNote
cargo-bincliglobal executable

freshness

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

page generated2026-07-08
manager version1.7.4
manager updated2026-06-15
local dataok
upstreamcurrent
latest detectedv1.7.4

https://github.com/dustinblackman/cargo-run-bin

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cargo-run-bin
Version1.7.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cargo-run-bin
Homepagehttps://dustinblackman.com/posts/why-does-everyone-install-crates-globally/
Repositoryhttps://github.com/dustinblackman/cargo-run-bin
Upstream docshttps://github.com/dustinblackman/cargo-run-bin#readme
LicenseMIT
Source archivehttps://github.com/dustinblackman/cargo-run-bin/archive/refs/tags/v1.7.4.tar.gz
Last updated2026-06-15T10:20:11-04:00
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

cargo-run-bin

nix profile install nixpkgs#cargo-run-bin
  • normalized package name match
  • Matched by: Cargo Run Bin
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-run-bin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-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-bin
  • License: MIT
  • Architecture: x86_64
  • Source Package: cargo-run-bin
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cargo Run Bin
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-run-bin from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

cargo-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-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: cargo-run-bin
  • normalized package name match
  • Matched by: Cargo Run Bin
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-run-bin-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

cargo-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-bin
  • License: MIT
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: Cargo Run Bin
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-run-bin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment