# Install cargo-run-bin with Cargo

Build, cache, and run binaries scoped in Cargo.toml rather than installing globally. This acts similarly to npm run and gomodrun, and allows your teams to always be running the same tooling versions. Version 1.7.5 via Cargo; verified 2025-07-14. Also installable with nix: nix profile install nixpkgs#cargo-run-bin.

## Install

```sh
sudo av install cargo:cargo-run-bin
```

Additional install commands:

### Portable and language managers

- Cargo (100%):

```sh
cargo install cargo-run-bin
```

  Evidence: local crates.io package metadata

## Package facts

- **Package key:** cargo:cargo-run-bin
- **Package manager:** Cargo
- **Package manager page:** <https://crates.io/crates/cargo-run-bin>
- **Version:** 1.7.5
- **Source summary:** Build, cache, and run binaries scoped in Cargo.toml rather than installing globally. This acts similarly to npm run and gomodrun, and allows your teams to always be running the same tooling versions.
- **Homepage:** <https://github.com/dustinblackman/cargo-run-bin>
- **Repository:** <https://github.com/dustinblackman/cargo-run-bin>
- **License:** MIT
- **Source archive:** <https://static.crates.io/crates/cargo-run-bin/cargo-run-bin-1.7.5.crate>
- **Published:** 2025-07-14 14:31:29.00791+00
- **Last updated:** 2025-07-14 14:31:29.00791+00
- **Generated:** 2026-09-19T06:45:57+00:00

## Executables

- cargo-bin (binary): Declared by crates.io version metadata.

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-09-19
- Package-manager version: 1.7.5

## Security Notes

No matching local secret-handling manifest was found for cargo-run-bin. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** crates.io database dump
- **Crate ID:** 403,965
- **Crate Size:** 82,368
- **Edition:** 2021
- **Executable Intent:** Intent: public_cli, Signals: manifest declares a binary target, archive contains src/main.rs, binary is a Cargo subcommand
- **Has Lib:** yes
- **Num Versions:** 29
- **Recent Download Window Days:** 90
- **Rust Version:** 1.70.0
- **Version ID:** 1,641,265

## Other Package-Manager Records

- Nix - cargo-run-bin: normalized package name match | 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
- apk - cargo-run-bin - 1.7.2-r0: normalized package name match | Alpine Linux edge package indexes: cargo-run-bin from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Build, cache, and run CLI tools scoped in Cargo.toml | https://github.com/dustinblackman/cargo-run-bin
- apk - cargo-run-bin-doc - 1.7.2-r0: normalized package name match | Alpine Linux edge package indexes: cargo-run-bin-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Build, cache, and run CLI tools scoped in Cargo.toml (documentation) | https://github.com/dustinblackman/cargo-run-bin
- pacman - cargo-run-bin - 1.7.4-2: normalized package name match | Arch Linux sync databases: cargo-run-bin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Build, cache, and run CLI tools scoped in Cargo.toml | https://github.com/dustinblackman/cargo-run-bin


## Related links

- [cargo-run-bin](https://pkg.so/brew/cargo-run-bin/) - Same normalized package name exists in another local package ecosystem.

## Sources

- crates.io package index
- external package-manager database matches
- cross-ecosystem install command graph
