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