Command-line tool
protobuf
brew/protobuf
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Protocol buffers (Google's data interchange format) protobuf rpc protoc protocol-buffers marshalling protobuf-runtime protocol-compiler serialization
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id Google.Protobuf -e scoop bucket add extras; scoop install extras/protobuf
macOS
brew install protobuf
Linux
brew install protobuf
Generate Python code from a `.proto` file
protoc --python_out=path/to/output_directory input_file.proto
Generate Java code from a `.proto` file that imports other `.proto` files
protoc --java_out=path/to/output_directory --proto_path=path/to/import_search_directory input_file.proto
Generate code for multiple languages
protoc --csharp_out=path/to/c#_output_directory --js_out=path/to/js_output_directory input_file.proto
Related command-line tools
- protobuf-c
Protocol buffers library - swift-protobuf
Plugin and runtime library for using protobuf with Swift - buf
New way of working with Protocol Buffers protobuf protoc protocol-buffers grpc buf-cli buf-schema-registry - protoc-gen-go
Go support for Google's protocol buffers - protoc-gen-doc
Documentation generator plugin for Google Protocol Buffers - protoc-gen-js
Protocol buffers JavaScript generator plugin - buffa
Pure-Rust Protocol Buffers implementation with editions support - nanopb
C library for encoding and decoding Protocol Buffer messages
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents