Automic VaultAutomic Vault

brew

cargo-binstall を Homebrew, Nix, pacman, scoop でインストール

cargo-binstall のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install cargo-binstall

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#cargo-binstall

nixpkgs package indexes · pkgs/by-name/ca/cargo-binstall/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S cargo-binstall

Arch Linux sync databases · cargo-binstall · ソース: geo.mirror.pkgbuild.com

Windows

Scoop確認済み · 92%
scoop install main/cargo-binstall

Scoop official bucket manifest trees · bucket/cargo-binstall.json · ソース: api.github.com

概要

パッケージ概要

Binary installation for rust projects

コマンドとエイリアス

  • cargo-binstall

履歴

プロジェクトの歴史と使われ方

cargo-binstall is a Cargo subcommand for installing Rust command-line tools from prebuilt binaries when possible, falling back to source builds when needed. Its package-history importance is that it tackles the pain of `cargo install` compile times without requiring every Rust tool author to become a full package maintainer.

プロジェクトの歴史

The public cargo-binstall repository was created in December 2020. The README describes Binstall as a low-complexity alternative to building from source with `cargo install` or manually downloading release archives.

The project evolved around reuse of existing ecosystem metadata: it fetches crate information from crates.io, checks the linked repository for matching releases and artifacts, can fall back to quickinstall artifacts, supports alternate targets, and uses `cargo install` as a last resort.

採用の歴史

cargo-binstall is packaged through Homebrew, Nix, Arch Linux, and Scoop according to the supplied source facts, and its README documents Homebrew installation plus official shell one-liners and a first-party GitHub Action.

Adoption is also indirect: the README notes that cargo-update can automatically use Binstall if present, and that taiki-e/install-action has dedicated support for selected tools while using Binstall for others.

使われ方

Users typically run `cargo binstall <crate>` to install a binary crate from a matching release artifact. For CI, the README recommends `--no-confirm`, and for maintainers it documents optional `[package.metadata.binstall]` configuration in Cargo.toml.

The SUPPORT.md documentation explains how maintainers can specify package URLs, archive formats, binary directories, disabled strategies, target overrides, and cfg expressions so Binstall can find release artifacts reliably.

パッケージ好きにとっての重要性

cargo-binstall is significant because Rust's source-first install story is elegant but expensive. For command-line tools, users often want the package-manager experience of downloading a binary, while maintainers may already publish GitHub release artifacts.

For package nerds it occupies the space between language registries and system package managers: it reads crates.io metadata and Cargo.toml hints, locates release assets, respects targets and signatures where available, and only compiles when the binary path fails.

タイムライン

  • 2020: cargo-binstall repository created on GitHub.
  • 2026: GitHub repository metadata shows active maintenance and a large user signal for a Cargo installer tool.
  • 2026: README documents release-asset installation, quickinstall fallback, a first-party GitHub Action, signatures, and telemetry controls.

Related projects

  • cargo-binstall is related to cargo install, crates.io, GitHub/GitLab release assets, cargo-quickinstall, and cargo-update.
  • The README also names cargo-run-bin for project-scoped tool management, taiki-e/install-action for CI installation, and support metadata in Cargo.toml for maintainers who publish binaries.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
cargo-binstallcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.21.0
マネージャ更新日2026-07-14
ローカルデータOK
上流最新
検出された最新v1.21.0

https://github.com/cargo-bins/cargo-binstall

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cargo-binstall
バージョン1.21.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/cargo-binstall
ホームページhttps://github.com/cargo-bins/cargo-binstall
リポジトリhttps://github.com/cargo-bins/cargo-binstall
上流ドキュメントhttps://github.com/cargo-bins/cargo-binstall#readme
ライセンスGPL-3.0-only
ソースアーカイブhttps://github.com/cargo-bins/cargo-binstall/archive/refs/tags/v1.21.0.tar.gz
最終更新2026-07-14T11:55:05Z
Pulseupdated
ビルド依存関係rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-binstall
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

cargo-binstall

nix profile install nixpkgs#cargo-binstall
  • normalized package name match
  • 一致条件: Cargo Binstall
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-binstall/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

cargo-binstall 1.20.0-1

Binary installation for Rust projects

https://github.com/cargo-bins/cargo-binstall

sudo pacman -S cargo-binstall
  • License: GPL-3.0-only
  • Architecture: x86_64
  • 3 依存関係
  • normalized package name match
  • 一致条件: Cargo Binstall
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-binstall from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop95%

main/cargo-binstall

scoop install main/cargo-binstall
  • normalized package name match
  • 一致条件: Cargo Binstall
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/cargo-binstall.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment