Mac上安装软件通常使用brew来安装,类似于Linux平台上的yum.
本文使用brew安装protobuf
brew安装protobuf
两条命令:
brew install protobuf protoc --version