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: https://grpc.io/docs/protoc-installation/
Mac Installation with Homebrew
$ brew install protobuf $ protoc --version
Linux Installation with apt
$ apt install -y protobuf-compiler $ protoc --version
You can find the latest Windows executable on the releases page of the protocolbuffers/protobuf Github Repository here: github.com/protocolbuffers/protobuf/releases
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.