homebrew换源
1 $ cd "$(brew --repo)" 2 $ git remote set-url origin https://mirrors.ustc.edu.cn/brew.git 3 $ cd ./Library/Taps/homebrew/homebrew-core 4 $ git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git 5 $ cd ../homebrew-cask 6 $ git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git