1.打开终端,复制下面这段脚本,然后回车。
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2.运行到的时候敲回车,或者按下任意键继续,可能需要你输入密码。
Press RETURN to continue or any other key to abort
3.看到这行表示安装成功
Installation successful!