最近電腦重裝系統,安裝Homebrew遇到問題,嘗試了好多方法都安裝失敗,最終看到這個文章才安裝成功!非常感謝!
蘋果電腦 正常安裝腳本(推薦 完全體 幾分鐘安裝完成):
/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)”
常見錯誤去下方位址檢視
點我跳轉
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
轉自:知乎@金牛肖馬