---
title: "[Protocol Buffers](https://en.wikipedia.org/wiki/Protocol_Buffers)"
---

<div class="contents" data-local="" data-depth="1" data-backlinks="none">

Table of Contents

</div>

------------------------------------------------------------------------

- <https://opensource.google.com/projects/protobuf>
- <https://developers.google.com/protocol-buffers/>
- <https://developers.google.com/protocol-buffers/docs/proto3>
- <https://twitter.com/hashtag/protobuf?lang=en>
- <https://github.com/protocolbuffers/protobuf>
- <https://stackoverflow.com/tags/protocol-buffers>

------------------------------------------------------------------------

## Languages

- [C++](https://github.com/protocolbuffers/protobuf/tree/master/src)
- [C#](https://github.com/protocolbuffers/protobuf/tree/master/csharp)
- [Dart](https://github.com/dart-lang/protobuf)
- [Elixir](https://github.com/tony612/protobuf-elixir) (third-party)
- [Erlang](https://github.com/tomas-abrahamsson/gpb) (third-party)
- [Go](https://github.com/golang/protobuf)
- [Java](https://github.com/protocolbuffers/protobuf/tree/master/java)
- [JS](https://github.com/protocolbuffers/protobuf/tree/master/js)
- [OCaml](https://github.com/mransan/ocaml-protoc) (third-party)
- [Objective-C](https://github.com/protocolbuffers/protobuf/tree/master/objectivec)
- [PHP](https://github.com/protocolbuffers/protobuf/tree/master/php)
- [Python](https://github.com/protocolbuffers/protobuf/tree/master/python)
- [Ruby](https://github.com/protocolbuffers/protobuf/tree/master/ruby)

------------------------------------------------------------------------

## Installation

```text
$ mix --force escript.install hex protobuf         # Elixir
$ go get github.com/golang/protobuf/protoc-gen-go  # Go
$ npm install google-protobuf                      # Node.js
$ pecl install protobuf                            # PHP
$ pip3 install protobuf                            # Python 3
$ gem install google-protobuf                      # Ruby
```

### Installation on [macOS](mac)

<https://github.com/Homebrew/homebrew-core/blob/master/Formula/protobuf.rb>

```text
$ brew install protobuf
```

### Installation on [Alpine](alpine)

<https://pkgs.alpinelinux.org/package/edge/main/x86_64/protobuf>

```text
$ apk add protobuf
```

### Installation on [Ubuntu](ubuntu)

<https://packages.ubuntu.com/libprotobuf-dev>

```text
$ sudo apt install libprotobuf10 libprotobuf-dev
```

------------------------------------------------------------------------

## Tutorials

### Basics

- [C++](https://developers.google.com/protocol-buffers/docs/cpptutorial)
- [C#](https://developers.google.com/protocol-buffers/docs/csharptutorial)
- [Go](https://developers.google.com/protocol-buffers/docs/gotutorial)
- [Java](https://developers.google.com/protocol-buffers/docs/javatutorial)
- [Python](https://developers.google.com/protocol-buffers/docs/pythontutorial)

------------------------------------------------------------------------

## See Also

- Arto's Notes re: [gRPC](grpc), [polyglotism](polyglot)
