1.mac 安装
brew install yarn
报错
Error: Failure while executing; `git config --local --replace-all homebrew.analyticsmessage true` exited with 1.
解决办法
在terminal输入:
xcode-select --install
安装成功之后可以解决
2.brew 安装慢
1.cd "$(brew --repo)" && git remote set-url origin https://git.coding.net/homebrew/homebrew.git 2.cd ~ 3.brew update