Created
September 22, 2022 20:19
-
-
Save davesnowdon/6721da2a695f2440dfb84d2a8d7aacba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get the protobuf compiler, protoc, for Linux | |
wget https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-21.5-linux-x86_64.zip | |
# unpack the zip file and move the protoc command to a convenient directory in your path | |
mkdir tmp-protoc ; cd tmp-protoc | |
unzip protoc-21.5-linux-x86_64.zip | |
mv bin/proto ~/.local/bin | |
cd .. ; rm -rf tmp-protoc | |
# install gRPC plugins for go | |
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 | |
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment