自動安裝腳本,復(fù)制下面一句腳本到終端中粘貼回車即可
?。?!需要注意:如果已經(jīng)安裝過brew了,謹(jǐn)慎重裝,因?yàn)闀采w原來的配置文件~/.zshrc,一定要記得保存自己的配置文件
- 蘋果電腦 常規(guī)安裝腳本(推薦 完全體 幾分鐘安裝完成):
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
- 蘋果電腦 極速安裝腳本(精簡版 幾秒鐘安裝完成):
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" speed
- 蘋果電腦 卸載腳本:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh)"
常見錯誤去下方地址查看文章來源:http://www.zghlxwxcb.cn/news/detail-841445.html
https://gitee.com/cunkai/HomebrewCN/blob/master/error.md
- Linux電腦 安裝腳本:
rm Homebrew.sh ; wget https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh ; bash Homebrew.sh
- Linux電腦 卸載腳本:
rm HomebrewUninstall.sh ; wget https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh ; bash HomebrewUninstall.sh
如果還有問題,可以查看文檔文章來源地址http://www.zghlxwxcb.cn/news/detail-841445.html
到了這里,關(guān)于在國內(nèi)如何自動安裝Homebrew(國內(nèi)地址)Mac & Linux的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!