yarn 更改 镜像源

yarn config get registry
# -> https://registry.yarnpkg.com

# 改成 taobao 的源:
yarn config set registry https://registry.npm.taobao.org
# -> yarn config v0.15.0
# -> success Set "registry" to "https://registry.npm.taobao.org".

# 看到 succes 表示安装完毕
原文地址:https://www.cnblogs.com/Hackerman/p/13437726.html