# Install @bufbuild/buf

The buf CLI is a tool for working with Protocol Buffers. Version 1.70.0 via npm; verified 2026-05-25.

## Install

```sh
sudo av install npm:@bufbuild/buf
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g @bufbuild/buf
```

  Evidence: local npm package metadata

## Package Facts

- **Package key:** npm:@bufbuild/buf
- **Package manager:** npm
- **Package manager URL:** <https://www.npmjs.com/package/@bufbuild/buf>
- **Version:** 1.70.0
- **Source summary:** The buf CLI is a tool for working with Protocol Buffers.
- **Homepage:** <https://github.com/bufbuild/buf#readme>
- **Repository:** <https://github.com/bufbuild/buf>
- **Upstream docs:** <https://github.com/bufbuild/buf#readme>
- **License:** Apache-2.0
- **Source archive:** <https://registry.npmjs.org/@bufbuild/buf/-/buf-1.70.0.tgz>
- **Issue tracker:** <https://github.com/bufbuild/buf/issues>
- **Published:** 2026-05-25T19:27:32.972Z
- **Last updated:** 2026-05-25T19:27:32.972Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- buf (cli)
- protoc-gen-buf-breaking (cli)
- protoc-gen-buf-lint (cli)

## Build Dependencies

- @types/node
- esbuild
- typescript

## Install Behavior

- Post-install hook: defined
- Lifecycle scripts: postinstall
- Bottle: not available

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.70.0
- Package-manager updated: 2026-05-25
- Local data status: ok
- Upstream repository: https://github.com/bufbuild/buf
- info: No cached GitHub release or tag data was available.

## セキュリティノート

@bufbuild/buf に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.70.0
- **Version Count:** 86
- **Maintainers:** bufdev, tstamm-buf, bufbot, jdailey_buf, doriakeung
- **Publisher:** GitHub Actions
- **Engines:** Node: >=12
- **Optional Dependencies:** @bufbuild/buf-darwin-arm64, @bufbuild/buf-darwin-x64, @bufbuild/buf-linux-aarch64, @bufbuild/buf-linux-armv7, @bufbuild/buf-linux-x64, @bufbuild/buf-win32-arm64, @bufbuild/buf-win32-x64
- **Integrity:** sha512-oJWGqltlu8F7VVNHLoJ3pFXhjfiGpbh7+/mXW0y+VMPWFGxc9YDv4de1UcX7zhhjV6MbE4SiEGo5Gs5jhpVg5A==
- **Shasum:** edd41a090f44301514048dd835c1d04bc0bd9db9
- **Unpacked Size:** 27,473
- **File Count:** 0
- **Created At:** 2023-02-03T20:16:23.387Z
- **Latest Published At:** 2026-05-25T19:27:32.972Z
- **Modified At:** 2026-05-25T19:27:33.138Z

## Other Package-Manager Records

- winget - bufbuild.buf: normalized package name match | Windows Package Manager source index: bufbuild.buf from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - buf: installed executable or alias match | MacPorts ports tree: devel/buf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - buf: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/bu/buf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - buf - 1.59.0-r6: installed executable or alias match | Alpine Linux edge package indexes: buf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | CLI to work with Protocol Buffers | https://buf.build/
- apk - buf-bash-completion - 1.59.0-r6: installed executable or alias match | Alpine Linux edge package indexes: buf-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for buf | https://buf.build/
- apk - buf-fish-completion - 1.59.0-r6: installed executable or alias match | Alpine Linux edge package indexes: buf-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for buf | https://buf.build/
- apk - buf-protoc-plugins - 1.59.0-r6: installed executable or alias match | Alpine Linux edge package indexes: buf-protoc-plugins from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | CLI to work with Protocol Buffers (protoc plugins) | https://buf.build/
- apk - buf-zsh-completion - 1.59.0-r6: installed executable or alias match | Alpine Linux edge package indexes: buf-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for buf | https://buf.build/
- pacman - buf - 1.70.0-1: installed executable or alias match | Arch Linux sync databases: buf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool for working with Protocol Buffers | https://buf.build
- Scoop - main/buf: installed executable or alias match | Scoop official bucket manifest trees: bucket/buf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related Links

- [MCP tool packages](https://www.automicvault.com/ja/pkg/mcp-tools/) - Matched curated package taxonomy and local package facts.
- [buf](https://www.automicvault.com/ja/pkg/brew/buf/) - Executable or command metadata overlaps with this package. Shared terms: breaking, buf, buffers, gen, lint.
- [@bufbuild/protoc-gen-es](https://www.automicvault.com/ja/pkg/npm/bufbuild-protoc-gen-es/) - Package names and metadata indicate a similar tool family. Shared terms: bufbuild, buffers, gen, protoc, protocol.
- [protobuf-c](https://www.automicvault.com/ja/pkg/brew/protobuf-c/) - Local package facts share a topical domain. Shared terms: buffers, gen, protoc, protocol.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
