Last active
January 8, 2020 06:39
-
-
Save myvyang/58985bda2e990c29f373799aa9784aed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd "$(brew --repo)" | |
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git | |
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" | |
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git | |
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc | |
source ~/.zshrc | |
npm config set registry http://registry.npm.taobao.org/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment