macOS
brew install cargo-binstalllocal Homebrew formula metadata
安装
brew install cargo-binstalllocal Homebrew formula metadata
nix profile install nixpkgs#cargo-binstallnixpkgs package indexes · pkgs/by-name/ca/cargo-binstall/package.nix · 来源: api.github.com
sudo pacman -S cargo-binstallArch Linux sync databases · cargo-binstall · 来源: geo.mirror.pkgbuild.com
scoop install main/cargo-binstallScoop official bucket manifest trees · bucket/cargo-binstall.json · 来源: api.github.com
概览
Binary installation for rust projects
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-binstall | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/cargo-bins/cargo-binstall
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-binstall |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-binstall
nix profile install nixpkgs#cargo-binstallcargo-binstall 1.20.0-1
Binary installation for Rust projects
https://github.com/cargo-bins/cargo-binstall
sudo pacman -S cargo-binstallmain/cargo-binstall
scoop install main/cargo-binstall来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.