mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
cargo-binstall: add page (#18371)
This commit is contained in:
@@ -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}}`
|
||||
Reference in New Issue
Block a user