pkg.soopen package index

brew / 排名 1236

使用 Homebrew, Nix, pacman, scoop 安装 cargo-binstall

查看 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cargo-binstall可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.21.1
管理器更新时间2026-07-25
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:cargo-binstall
版本1.21.1
软件包管理器Homebrew
主页https://github.com/cargo-bins/cargo-binstall
仓库https://github.com/cargo-bins/cargo-binstall
最后更新2026-07-25T14:57:32Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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.21.1-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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation