-
把下面的链接复制到你的终端
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
安装是显示你没有安装Command Line Tools, 你在终端输入xcode-select --install, 还是显示你不能按包装的时候.
-
https://developer.apple.com/download/more/ 搜索Command Line Tools.
-
下载跟你Mac对应的版本, 直接安装。
-
再次输入上面的链接。
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
显示安装成功, 我们测试是否安装成功下载个git。
-
显示git下载成功。
Mac安装homebrew
于 2019-05-08 17:01:47 首次发布