到 https://github.com/protocolbuffers/protobuf/releases 选择下载最新的protoc-3.6.1-osx-x86_64.zip,解压后
安装
cd protoc-3.6.1-osx-x86_64
cp -r include//usr/local/include/
cp -r bin//usr/local/bin/
测试
protoc
到 https://github.com/protocolbuffers/protobuf/releases 选择下载最新的protoc-3.6.1-osx-x86_64.zip,解压后
安装
cd protoc-3.6.1-osx-x86_64
cp -r include//usr/local/include/
cp -r bin//usr/local/bin/
测试
protoc