-
You can download the latest prebuilt binaries of cargo-prebuilt here.
-
Cargo install:
cargo install cargo-prebuilt
orcargo install cargo-prebuilt --profile=quick-build
-
Cargo prebuilt:
cargo prebuilt cargo-prebuilt
-
Cargo binstall:
cargo binstall cargo-prebuilt --no-confirm
-
Cargo quickinstall:
cargo quickinstall cargo-prebuilt
-
Install script (unix platforms):
curl --proto '=https' --tlsv1.2 -sSf \ https://raw.githubusercontent.com/cargo-prebuilt/cargo-prebuilt/main/scripts/install-cargo-prebuilt.sh \ -o install-cargo-prebuilt.sh \ && bash install-cargo-prebuilt.sh \ && rm install-cargo-prebuilt.sh
If you are downloading cargo-prebuilt from the release page then there are multiple ways to verify it.
Download the associated minisig file with the archive you picked.
Get the public key.
Download minisign or rsign2 and follow their instructions.
Download the GitHub CLI and run
gh attestation verify $ARCHIVE --repo cargo-prebuilt/cargo-prebuilt
.
Download the associated hashes.sha256 file and run
sha256sum -c --ignore-missing hashes.sha256
.