# 使用 Homebrew, Nix 安装 buffrs

查看 buffrs 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:buffrs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install buffrs
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#buffrs
```

  证据: nixpkgs package indexes: pkgs/by-name/bu/buffrs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:buffrs
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/buffrs>
- **版本:** 0.13.3
- **来源摘要:** Modern protobuf package management
- **主页:** <https://github.com/helsing-ai/buffrs>
- **仓库:** <https://github.com/helsing-ai/buffrs>
- **上游文档:** <https://docs.rs/buffrs>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/helsing-ai/buffrs/archive/refs/tags/v0.13.3.tar.gz>
- **最后更新:** 2026-06-03T18:40:32Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- buffrs (cli)
- buffrs (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.13.3
- 管理器更新时间: 2026-06-03
- 本地数据: OK
- 上游仓库: https://github.com/helsing-ai/buffrs
- 检测到的最新版本: v0.13.3 (当前)
## 项目历史与用法

Buffrs is a Rust CLI for package-based Protocol Buffers distribution, designed around manifests, lock files, registry login, dependency installation, packaging, and publishing.

### 项目历史

Helsing created Buffrs to address a Protobuf distribution problem: raw `.proto` files are language-independent, but sharing them between projects often becomes ad hoc vendoring or generated-code publication. Buffrs treats Protobuf schemas as first-class packages.

The README and book describe a package-manager workflow with `Proto.toml` manifests, recursive local dependencies, workspaces, Artifactory integration, reproducible lock files, and planned self-hosted registry work.

### 采用历史

Buffrs has a focused adoption profile: it is available through Cargo, Homebrew, and Nix, and its own documentation highlights Artifactory-backed registries rather than a large public central registry. That makes it most relevant to organizations managing internal Protobuf APIs.

Its public roadmap shows the project evolving from package manifests and Artifactory distribution toward additional Protobuf tooling such as bindgen, linting, validation, and formatting.

### 使用方式

The documented quickstart is `buffrs login`, `buffrs init --api`, `buffrs add <dependency>`, and `buffrs install`. The CLI also supports creating packages, linting, removing dependencies, packaging, publishing, listing managed protobuf files, and lockfile operations.

`Proto.toml` is the project manifest. Credentials are stored under `~/.buffrs/credentials.toml` according to the existing curation.

### 为什么软件包爱好者会关心

Buffrs is package-nerd bait because it applies familiar package-manager primitives, manifests, lock files, registry login, dependency graphs, checksums, and publish/install commands, to raw Protobuf schema files.

It overlaps conceptually with Buf modules but comes from a Rust/Helsing tooling angle and explicitly supports Artifactory-backed package distribution.

### 时间线

- 2020s: Helsing announced Buffrs as a package manager for Protocol Buffers.
- 2020s: The README documented support for project manifests, dependency declaration, Artifactory package distribution, tonic generation, and protoc generation.
- 2020s: The roadmap listed a future self-hostable S3-based `buffrs-registry` and additional Protobuf tooling.

### Related projects

- Buf is the neighboring Protobuf module and registry ecosystem.
- `protoc` and tonic are documented Buffrs generation backends.
- Artifactory is a supported registry backend for publishing and consuming Buffrs packages.

### 来源

- <https://blog.helsing.ai/posts/buffrs-a-package-manager-for-protocol-buffers-12>
- <https://docs.rs/buffrs>
- <https://github.com/helsing-ai/buffrs>
- <https://helsing-ai.github.io/buffrs>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: Proto.toml

## Credential files

- Unix: ~/.buffrs/credentials.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** buffrs
- **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:** head, stable

## 其他软件包管理器记录

- Nix - buffrs: normalized package name match | nixpkgs package indexes: pkgs/by-name/bu/buffrs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [planus](https://www.automicvault.com/zh-hans/pkg/brew/planus/) - Shares av.db curated category or tags: cli, developer-tools, rust, serialization.
- [protobuf-c](https://www.automicvault.com/zh-hans/pkg/brew/protobuf-c/) - Shares av.db curated category or tags: cli, developer-tools, protobuf, serialization.
- [capnp](https://www.automicvault.com/zh-hans/pkg/brew/capnp/) - Shares av.db curated category or tags: cli, developer-tools, serialization.
- [cargo-binstall](https://www.automicvault.com/zh-hans/pkg/brew/cargo-binstall/) - Shares av.db curated category or tags: cli, developer-tools, package-management, rust.
- [cargo-edit](https://www.automicvault.com/zh-hans/pkg/brew/cargo-edit/) - Shares av.db curated category or tags: cli, developer-tools, package-management, rust.
- [cargo-outdated](https://www.automicvault.com/zh-hans/pkg/brew/cargo-outdated/) - Shares av.db curated category or tags: cli, developer-tools, package-management, rust.
- [dhall-json](https://www.automicvault.com/zh-hans/pkg/brew/dhall-json/) - Shares av.db curated category or tags: cli, developer-tools, serialization.
- [flatbuffers](https://www.automicvault.com/zh-hans/pkg/brew/flatbuffers/) - Shares av.db curated category or tags: cli, developer-tools, serialization.

## Combined YAML source

View the package source record on GitHub. [combined/buffrs.yml](https://github.com/automic-vault/db/blob/main/combined/buffrs.yml)


## 来源

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