cargo-binstall: add page (#18371)

This commit is contained in:
Lena Pastwa
2025-10-05 16:37:39 +00:00
committed by GitHub
parent 6b229b2315
commit bc57b50e05
+17
View File
@@ -0,0 +1,17 @@
# cargo binstall
> Install Rust binaries from CI artifacts.
> Falls back to `cargo install` (from source code) if there are no binaries available.
> 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}}`