LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

cargo-binstall

Install prebuilt Rust binaries from crates.io

TLDR

Install package binary
$ cargo binstall [ripgrep]
copy
Install specific version
$ cargo binstall [tokei@12.1.0]
copy
Only install if signed
$ cargo binstall --only-signed [package]
copy
Install without confirmation
$ cargo binstall -y [package]
copy
Upgrade cargo-binstall itself
$ cargo binstall cargo-binstall
copy
Install from specific target
$ cargo binstall --targets [x86_64-unknown-linux-gnu] [package]
copy

SYNOPSIS

cargo binstall [options] crate[@version]

DESCRIPTION

cargo binstall installs Rust binaries by downloading prebuilt releases instead of compiling from source. It fetches crate info from crates.io, searches for matching releases, and falls back to cargo install if no binary is found.Much faster than cargo install on constrained devices.

PARAMETERS

-y, --no-confirm

Skip confirmation prompt
--only-signed
Only install signed packages
--targets targets
Override target platform
--install-path path
Custom installation directory
--roots path
Root directory for package info
--force
Force reinstallation
--no-symlinks
Don't create symlinks
--dry-run
Show what would be installed
--log-level level
Set log verbosity

FALLBACK ORDER

1. Linked repository releases2. quickinstall artifact host3. Alternate supported targets4. cargo install (source build)

SIGNATURE VERIFICATION

Maintainers can specify signing keys in Cargo.toml. Binstall downloads and verifies signatures when available.

INSTALL

sudo pacman -S cargo-binstall
copy
brew install cargo-binstall
copy
nix profile install nixpkgs#cargo-binstall
copy

CAVEATS

Package must have prebuilt binaries or binstall metadata. Falls back to cargo install when no binary found.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid