npm config set registry https://registry.npmmirror.com
yarn config set registry https://registry.npmmirror.com
npm config get registry
yarn config get registry
yarn 如果还是请求之前的源,要删掉 /Users/jun/.config/yarn/global 目录下的lock文件。
mark: yarn 更新自身版本命令 yarn set version latest