Skip to content

Instantly share code, notes, and snippets.

@myklll
Created March 9, 2019 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myklll/0efedb3efe381f09df2bcdfc5d1b4647 to your computer and use it in GitHub Desktop.
Save myklll/0efedb3efe381f09df2bcdfc5d1b4647 to your computer and use it in GitHub Desktop.
Set up Protobuf Compiler on a Mac
Get the latest release here: https://github.com/protocolbuffers/protobuf/releases
$ wget https://github.com/protocolbuffers/protobuf/archive/v3.7.0.tar.gz
$ tar -zxvf protobuf-3.7.0.tar.gz
$ sudo mv protobuf-3.7.0 /usr/local/bin
$ cd /usr/local/bin/protobuf-3.7.0
$ ./autogen.sh && ./configure && make
$ sudo make install
$ which protoc
$ protoc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment