一、安装
未记录
二、镜像调整
cd "$(brew --repo)"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
#only do this below
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
#brew install error, do this below
cd /usr/local/Homebrew/Library/Taps/homebrew/
rm -fr homebrew-core
cd /usr/local/Homebrew/Library/Taps/homebrew/
mkdir homebrew-core
cd homebrew
git clone https://mirrors.tuna.tsinghua.edu.cn/git/homebrew-core.git
标签:core,Taps,git,cd,MAC,镜像,brew,homebrew From: https://www.cnblogs.com/jhjesse/p/18193443