2025-12-16 10:20:31 -07:00
|
|
|
# cargo binstall
|
|
|
|
|
|
|
|
|
|
> Install Rust binaries from CI artifacts.
|
|
|
|
|
> Falls back to `cargo install` (from source code) if there are no binaries available.
|
2026-06-12 17:51:25 -06:00
|
|
|
> Note: This is not a built-in Cargo command, you need to install it first.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://github.com/cargo-bins/cargo-binstall>.
|
|
|
|
|
|
|
|
|
|
- Install a package from <https://crates.io>:
|
|
|
|
|
|
|
|
|
|
`cargo binstall {{package}}`
|
|
|
|
|
|
|
|
|
|
- Install a specific version of a package (latest by default):
|
|
|
|
|
|
|
|
|
|
`cargo binstall {{package}}@{{version}}`
|
|
|
|
|
|
|
|
|
|
- Install a package and disable confirmation prompts:
|
|
|
|
|
|
|
|
|
|
`cargo binstall {{[-y|--no-confirm]}} {{package}}`
|