Pin the crate version during install.
Section: Install binary crates
Install a specific version
bash
bash
cargo install ripgrep --version 14.1.0Explanation
Useful for reproducibility in local developer setups.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Install binary crates
Install directly from git
Build and install a binary crate from a repository.
Remove an installed binary crate
Delete binaries installed by `cargo install`.
Read current package version
Inspect the manifest version before tagging a release.