Installing the Protoc compiler

May 21, 2021

Course Instructor: Elliot Forbes

Hey Gophers! My name is Elliot and I'm the creator of TutorialEdge and I've been working with Go systems for roughly 5 years now.

Twitter: @Elliot_f

Before we dive in to defining and building our protos, we’ll first need to ensure that we have the compiler successfully installed on our machine.


Full Information can be found here:

Mac Installation with Homebrew

$ brew install protobuf
$ protoc --version

Linux Installation with apt

$ apt install -y protobuf-compiler
$ protoc --version  

Windows installation

You can find the latest Windows executable on the releases page of the protocolbuffers/protobuf Github Repository here:


Awesome, we should now have everything we need to compile our protobufs and generate the Go code that will be stored within our mono-repo.