1.終端輸入命令:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2.此時(shí)會(huì)報(bào)錯(cuò),是因?yàn)榘惭bbrew需要翻墻
解決辦法:
終端輸入命令:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"