Install protobuf on mac

download protobuf官网

decompress tar

enter protobuf-x.x.x

./configure

make

make check

sudo make install 

which protoc

protoc –version

点赞