mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
599 B
Plaintext
23 lines
599 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|