安装命令:
pm install -g yarn
切换源
yarn config set registry https://registry.npm.taobao.org
查看源 yarn config get registry
yarn config get registry