Credential access
Reads registry tokens, environment variables, and project schema files.
brew
New way of working with Protocol Buffers. Version 1.71.0 via Homebrew; verified 2026-06-16.
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.
install
brew 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
overview
New way of working with Protocol Buffers
history
Buf is a modern Protocol Buffers toolchain centered on the `buf` CLI, replacing many direct `protoc` workflows with module-aware builds, linting, breaking-change detection, formatting, code generation, dependency management, API calls, and access to the Buf Schema Registry.
Buf was created by Buf Technologies as a developer-tooling layer for Protobuf projects. Its public repository presents it as a modern toolchain for Protobuf rather than a replacement for the schema language itself: it keeps the plugin model familiar to `protoc` users while adding workspace configuration, deterministic checks, and registry-aware workflows.
The project grew beyond a formatter or wrapper into a broader ecosystem: the CLI, Buf Schema Registry, remote plugins, generated SDKs, ConnectRPC, Protobuf-ES, and Protovalidate are all positioned by Buf as related pieces of schema-driven API infrastructure.
Buf adoption followed the pain points of larger Protobuf users: teams wanted one repeatable command for compiling, linting, compatibility checks, and generation instead of per-repository shell scripts around `protoc -I` paths. The CLI is distributed through Homebrew, npm, Docker, Windows installers, binary downloads, tarballs, source builds, and other package managers listed in the input.
Registry features widened its role from local CLI tooling to organization-level schema governance. The Buf Schema Registry stores modules, renders documentation, resolves dependencies, hosts remote plugins, produces generated SDKs, and can enforce schema checks for teams that publish APIs there.
Typical CLI use starts with `buf config init`, then `buf build`, `buf format -w`, `buf lint`, `buf breaking --against ...`, and `buf generate`. Projects commonly check in `buf.yaml`, `buf.gen.yaml`, and `buf.lock` so CI and developer laptops run the same Protobuf workflow.
Core CLI features work without a Buf Schema Registry account, while signing in adds private module dependency resolution, remote plugins, generated SDKs, hosted documentation, and server-side checks.
Buf matters to package-tooling people because it treats `.proto` files as versioned modules instead of loose source files copied between repos. It brings package-lock and registry patterns familiar from language ecosystems into Protobuf schema distribution.
It is also a notable example of a package manager formula that installs not only the main `buf` binary but companion protoc plugins, making Homebrew a convenient entry point for Protobuf linting and compatibility checks.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Credential-bearing paths to review before unattended agent runs.
~/.netrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
buf | cli | global executable | |
protoc-gen-buf-breaking | cli | global executable | |
protoc-gen-buf-lint | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/bufbuild/buf
install metadata
| Package key | brew:buf |
|---|---|
| Version | 1.71.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/buf |
| Homepage | https://buf.build |
| 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.71.0.tar.gz |
| Last updated | 2026-06-16T22:48:07Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on 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 -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.