# cargo-bins/cargo-binstall

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/cargo-bins-cargo-binstall).**

2,493 stars · 94 forks · Rust · gpl-3.0

## Links

- GitHub: https://github.com/cargo-bins/cargo-binstall
- awesome-repositories: https://awesome-repositories.com/repository/cargo-bins-cargo-binstall.md

## Topics

`binary` `installer` `rust`

## Description

cargo-binstall is a toolchain extension and binary artifact manager designed to install pre-compiled Rust binaries from releases. Its primary purpose is to avoid the time and resource costs associated with compiling software from source by fetching pre-built executables.

The tool provides mechanisms for discovering and downloading binaries across different architectures and platforms. It includes capabilities for verifying the authenticity and integrity of downloaded packages using cryptographic signature verification against public keys.

The system supports automated installation in continuous integration environments through a non-interactive mode. It manages artifact resolution via release API discovery, template-based URL mapping, and pattern-based executable extraction. Users can also manually map binary artifacts, specify custom download paths, and fetch split debug symbols.

## Tags

### Development Tools & Productivity

- [Binary Artifact Managers](https://awesome-repositories.com/f/development-tools-productivity/binary-artifact-managers.md) — Acts as a comprehensive manager for discovering, downloading, and verifying pre-compiled binary artifacts.
- [Binary Artifact Management](https://awesome-repositories.com/f/development-tools-productivity/binary-artifact-management.md) — Maps custom download URLs and archive formats to ensure the correct executable is installed for specific architectures.
- [Pre-compiled Package Binaries](https://awesome-repositories.com/f/development-tools-productivity/pre-built-sdk-distributions/pre-compiled-package-binaries.md) — Fetches pre-compiled binaries from hosting providers to avoid the cost of local compilation. ([source](https://github.com/cargo-bins/cargo-binstall/blob/main/SUPPORT.md))
- [Binary Extraction Automation](https://awesome-repositories.com/f/development-tools-productivity/automated-archive-extraction/binary-extraction-automation.md) — Locates the correct executable within a downloaded archive by searching through common directory patterns. ([source](https://github.com/cargo-bins/cargo-binstall/blob/main/SUPPORT.md))
- [Development Workflows](https://awesome-repositories.com/f/development-tools-productivity/development-workflows.md) — Streamlines the development workflow by reducing the time spent waiting for local compilation of tools.
- [Non-Interactive CLI Modes](https://awesome-repositories.com/f/development-tools-productivity/non-interactive-cli-modes.md) — Includes a non-interactive mode that suppresses prompts for seamless operation in headless CI environments.

### DevOps & Infrastructure

- [Prebuilt Binary Installations](https://awesome-repositories.com/f/devops-infrastructure/deployment-management/installation-package-management/binary-and-source-installation/prebuilt-binary-installations.md) — Downloads and installs pre-compiled Rust binaries from releases to eliminate local compilation time. ([source](https://github.com/cargo-bins/cargo-binstall/blob/main/justfile))
- [Binary and Source Installation](https://awesome-repositories.com/f/devops-infrastructure/deployment-management/installation-package-management/binary-and-source-installation.md) — Fetches and installs pre-compiled binaries from repository releases to avoid time-consuming source compilation. ([source](https://github.com/cargo-bins/cargo-binstall#readme))
- [CI CD Pipelines](https://awesome-repositories.com/f/devops-infrastructure/ci-cd-pipelines.md) — Optimizes CI/CD pipelines by substituting lengthy local compilation steps with fast pre-built binary downloads.
- [Non-Interactive Deployments](https://awesome-repositories.com/f/devops-infrastructure/deployment-strategies/binary-copy-deployments/non-interactive-deployments.md) — Supports automated, non-interactive binary installation specifically for continuous integration environments.

### Part of an Awesome List

- [Release Asset Installers](https://awesome-repositories.com/f/awesome-lists/more/github-tools/release-asset-installers.md) — Automates the discovery and retrieval of platform-specific binaries from repository release sections via APIs.
- [Build Systems](https://awesome-repositories.com/f/awesome-lists/devtools/build-systems.md) — Fast binary installer for pre-built crate artifacts.

### Programming Languages & Runtimes

- [Platform-Specific Artifact Resolution](https://awesome-repositories.com/f/programming-languages-runtimes/environment-specific-module-resolution/platform-specific-artifact-resolution.md) — Matches the local environment to the appropriate remote binary using platform identifier mappings.
- [Toolchain Extensions](https://awesome-repositories.com/f/programming-languages-runtimes/toolchain-extensions.md) — Extends the Rust toolchain by adding the ability to fetch and install pre-built executables via the package manager.

### Security & Cryptography

- [Binary Code Signature Validators](https://awesome-repositories.com/f/security-cryptography/digital-signature-validators/binary-code-signature-validators.md) — Verifies the cryptographic signatures of executable binaries using public keys to ensure integrity. ([source](https://github.com/cargo-bins/cargo-binstall#readme))
- [Release Signature Verifiers](https://awesome-repositories.com/f/security-cryptography/release-signature-verifiers.md) — Ensures the authenticity of installed software by verifying digital signatures of software releases. ([source](https://github.com/cargo-bins/cargo-binstall/blob/main/README.md))
- [Signature Verification Tools](https://awesome-repositories.com/f/security-cryptography/signature-verification-tools.md) — Provides utilities to validate cryptographic signatures of downloaded binaries to ensure software integrity.
- [Supply Chain Security](https://awesome-repositories.com/f/security-cryptography/supply-chain-security.md) — Verifies the authenticity and integrity of downloaded binaries using cryptographic signatures and public keys.
