Credential access
Reads registry tokens, environment variables, and project schema files.
agent safety
buf manages protobuf linting, generation, and registry workflows.
Reads registry tokens, environment variables, and project schema files.
Can push modules and interact with remote schema registries.
Can publish schema modules and generated artifacts.
Gate push, registry login, and token-backed commands.
Allow lint/generate; require approval for registry writes and token use.
安装
sudo av install brew:bufbrew install buflocal Homebrew formula metadata
sudo port install bufMacPorts ports tree · devel/buf/Portfile · source: api.github.com
sudo apk add bufAlpine Linux edge package indexes · buf · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#bufnixpkgs package indexes · pkgs/by-name/bu/buf/package.nix · source: api.github.com
sudo pacman -S bufArch Linux sync databases · buf · source: geo.mirror.pkgbuild.com
scoop install main/bufScoop official bucket manifest trees · bucket/buf.json · source: api.github.com
winget install --id bufbuild.buf -eWindows Package Manager source index · bufbuild.buf · source: cdn.winget.microsoft.com
概览
New way of working with Protocol Buffers
受保护工具覆盖
Buf registry login stores BSR tokens in ~/.netrc by default. Our isotope stores the buf.build token in the macOS keychain and injects it as BUF_TOKEN only while `buf` runs.
green risk · low confidence · appliance
本地 README 摘录
buf registry login stores Buf Schema Registry credentials in ~/.netrc by default. Buf also supports BUF_TOKEN, so the protected-tool coverage migrates the default buf.build token into the macOS keychain and injects it only while buf runs.
The migration removes the matching single-line machine buf.build ... password ... entry from ~/.netrc and preserves unrelated machines.
buf.build and legacy go.buf.build .netrc entriesonly.
.netrc layouts are detected conservatively and are notrewritten.
来源: local coverage notes
来源摘录
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
buf | cli | global executable | |
protoc-gen-buf-breaking | cli | global executable | |
protoc-gen-buf-lint | cli | global executable |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/bufbuild/buf
安装元数据
| Package key | brew:buf |
|---|---|
| Version | 1.70.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/buf |
| Homepage | https://github.com/bufbuild/buf |
| Repository | https://github.com/bufbuild/buf |
| Upstream docs | https://buf.build/docs/cli |
| License | Apache-2.0 |
| Source archive | https://github.com/bufbuild/buf/archive/refs/tags/v1.70.0.tar.gz |
| Last updated | 2026-05-25T22:02:36Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | buf |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
buf
nix profile install nixpkgs#bufbuf 1.59.0-r6
CLI to work with Protocol Buffers
sudo apk add bufbuf-bash-completion 1.59.0-r6
Bash completions for buf
sudo apk add buf-bash-completionbuf-fish-completion 1.59.0-r6
Fish completions for buf
sudo apk add buf-fish-completionbuf-protoc-plugins 1.59.0-r6
CLI to work with Protocol Buffers (protoc plugins)
sudo apk add buf-protoc-pluginsbuf-zsh-completion 1.59.0-r6
Zsh completions for buf
sudo apk add buf-zsh-completionbuf 1.70.0-1
A tool for working with Protocol Buffers
sudo pacman -S bufbuf
sudo port install bufmain/buf
scoop install main/bufbufbuild.buf
winget install --id bufbuild.buf -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。