Skip to content

Instantly share code, notes, and snippets.

@IamFaizanKhalid
Created December 5, 2022 05:12
Show Gist options
  • Save IamFaizanKhalid/48c9e1217750c31d46ea5c9c78e6efc7 to your computer and use it in GitHub Desktop.
Save IamFaizanKhalid/48c9e1217750c31d46ea5c9c78e6efc7 to your computer and use it in GitHub Desktop.
Script to install protobuf compiler on unix based systems. Download latest release from: https://github.com/protocolbuffers/protobuf/releases
#!/usr/bin/env bash
cp -r ./include/google /usr/local/include/
cp ./bin/protoc /usr/local/bin/protoc
xattr -d com.apple.quarantine /usr/local/bin/protoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment