终端输入
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
如果提示:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation浏览器打开:(如不能访问,请用挂vpn)
https://raw.githubusercontent.com/Homebrew/install/master/install
显示如下:
复制网页中代码,保存为:brew_install.rb文件
终端输入:
ruby brew_install.rb
完成