终端输入:sudo chmod -R g+w /usr/localgit
再输入:"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"github
出现Press RETURN to continue or any other key to abort的时候按回车继续curl
出现Installation successfull!表示安装成功url