Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.44 KB

DOWNLOAD.md

File metadata and controls

44 lines (31 loc) · 1.44 KB

Downloads

Download Methods

  • You can download the latest prebuilt binaries of cargo-prebuilt here.

  • Cargo install: cargo install cargo-prebuilt or cargo 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

Verify

If you are downloading cargo-prebuilt from the release page then there are multiple ways to verify it.

Minisign

Download the associated minisig file with the archive you picked.

Get the public key.

Download minisign or rsign2 and follow their instructions.

GitHub Attestation

Download the GitHub CLI and run gh attestation verify $ARCHIVE --repo cargo-prebuilt/cargo-prebuilt.

Hash File

Download the associated hashes.sha256 file and run sha256sum -c --ignore-missing hashes.sha256.