運行下面自動腳本(已經全部替換為國內地址),一步到位
>zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
只需要卸載
ruby -e "$(curl -fsSL [https://cdn.jsdelivr.net/gh](http://link.zhihu.com/?target=https%3A//cdn.jsdelivr.net/gh/ineo6/homebrew-install/uninstall)
/ineo6/homebrew-install/uninstall)"
常用命令
安裝軟件:brew install xxx
卸載軟件:brew uninstall xxx
搜索軟件:brew search xxx
更新軟件:brew upgrade xxx
查看列表:brew list
更新brew:brew update