一、安裝
未記錄
二、映象調整
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