Skip to content

Commit bc57b50

Browse files
authored
cargo-binstall: add page (#18371)
1 parent 6b229b2 commit bc57b50

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

pages/common/cargo-binstall.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# cargo binstall
2+
3+
> Install Rust binaries from CI artifacts.
4+
> Falls back to `cargo install` (from source code) if there are no binaries available.
5+
> More information: <https://github.com/cargo-bins/cargo-binstall>.
6+
7+
- Install a package from <https://crates.io>:
8+
9+
`cargo binstall {{package}}`
10+
11+
- Install a specific version of a package (latest by default):
12+
13+
`cargo binstall {{package}}@{{version}}`
14+
15+
- Install a package and disable confirmation prompts:
16+
17+
`cargo binstall {{[-y|--no-confirm]}} {{package}}`

0 commit comments

Comments
 (0)