Last updated 2 years ago
安装后需要手动添加环境变量(注意安装完成后的提示)
$ echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/huay/.zprofile $ eval "$(/opt/homebrew/bin/brew shellenv)"
$ brew install cmake $ brew install pkgconfig