brew安装和换源

brew安装和换源

命令行执行ruby -e "$(curl -fsSL
(https://raw.githubusercontent.com/Homebrew/install/master/install))

换源
对bash用户

echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile
source ~/.bash_profile

对zsh用户

echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc
source ~/.zshrc

你可能感兴趣的:(brew安装和换源)