cnpm install -g yarn
#查看版本yarn -version
#查看镜像yarn config get registry
#设置镜像yarn config set registry https://registry.npm.taobao.org