homebrew使用

卸载

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

新安装

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

更换brew源

$ cd /usr/local && git remote set-url origin https://git.coding.net/homebrew/homebrew.git

$ cd $home && brew update

猜你喜欢

转载自blog.csdn.net/qq_28114645/article/details/81239811