mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 18:53:04 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/cargo-binstall
Normal file
22
tldr/cargo-binstall
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user