赞
踩
打开brew官网:https://brew.sh/
安装就一句脚本:/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”
安装到com.apple.dt.CommandLineTools.installondemand.in-progress 时报错,
手动去苹果网站下载Xcode Command Line Tools:https://developer.apple.com/download/more/
安装完重新运行brew安装脚本继续安装即可。
完成后可以就可以直接下载应用程序,比如安装cmake:brew install cmake
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。