更换 brew 镜像源 boxplay 2020-04-09 794 阅读1分钟 替换homebrew默认源 cd "$(brew --repo)" git remote set-url origin git://mirrors.ustc.edu.cn/brew.git echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc source ~/.zshrc brew update