☰ Menu
Home›Command-line Tools›protobuf@33
CLI Open source 36 installs/mo

protobuf@33 for Mac

protobuf@33

Protocol buffers (Google's data interchange format)

protobuf@33 — overview

Protocol Buffers - Google's data interchange format


Copyright 2008 Google LLC

Overview

Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can learn more about it in protobuf's documentation.

This README file contains protobuf installation instructions. To install protobuf, you need to install the protocol compiler (used to compile .proto files) and the protobuf runtime for your chosen programming language.

Working With Protobuf Source Code

Most users will find working from supported releases to be the easiest path.

If you choose to work from the head revision of the main branch your build will occasionally be broken by source-incompatible changes and insufficiently-tested (and therefore broken) behavior.

If you are using C++ or otherwise need to build protobuf from source as a part of your project, you should pin to a release commit on a release branch.

This is because even release branches can experience some instability in between release commits.

Bazel with Bzlmod

Protobuf supports Bzlmod with Bazel 8 +. Users should specify a dependency on protobuf in their MODULE.bazel file as follows.

Users can optionally override the repo name, such as for compatibility with WORKSPACE.

Bazel with WORKSPACE

Users can also add the following to their legacy WORKSPACE file.

Note that with the release of 30.x there are a few more load statements to properly set up rules_java and rules_python.

Protobuf Compiler Installation

The protobuf compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime.

For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our GitHub release page.

In the downloads section of each release, you can find pre-built binaries in zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary as well as a set of standard .proto files distributed along with protobuf.

If you are looking for an old version that is not available in the release page, check out the Maven repository.

These pre-built binaries are only provided for released versions. If you want to use the github main version at HEAD, or you need to modify protobuf code, or you are using C++, it's recommended to build your own protoc binary from source.

If you would like to build protoc binary from source, see the C++ Installation Instructions.

Protobuf Runtime Installation

Protobuf supports several different programming languages. For each programming language, you can find instructions in the corresponding source directory about how to install protobuf runtime for that specific language:

Quick Start

The best way to learn how to use protobuf is to follow the tutorials in our developer guide.

If you want to learn from code examples, take a look at the examples in the examples directory.

Documentation

Details

协议缓冲(谷歌的数据交换格式)

How to install protobuf@33

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2026-09-17; current version v36.2, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v36.22026-09-17Stable2.5 MBDownloadDownloadDownload
v36.12026-08-31Stable2.5 MBDownloadDownloadDownload
v36.02026-08-20Stable2.5 MBDownloadDownloadDownload
v35.12026-06-11Stable2.5 MBDownloadDownloadDownload
v34.22026-05-20Stable2.4 MBDownloadDownloadDownload
v35.02026-05-19Stable2.5 MBDownloadDownloadDownload
v37.0-rc22026-11-09Pre-release2.6 MBDownloadDownloadDownload
v37.0-rc12026-10-15Pre-release2.6 MBDownloadDownloadDownload
v36.0-rc22026-08-03Pre-release2.5 MBDownloadDownloadDownload
v36.0-rc12026-07-09Pre-release2.5 MBDownloadDownloadDownload

Data from GitHub Releases; stable releases first, each group sorted newest first.

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
protobuf@33v36.2BSD-3-ClauseCLI36
biosig3.9.8GPL-3.0-or-laterCLI36
xmlto0.0.29GPL-2.0-or-laterCLI36
lzlib1.16BSD-2-ClauseCLI35

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…