Appearance
npm安装yarn
参考官网
https://classic.yarnpkg.com/en/docs/install#debian-stable
安装pnpm
bash
npm install -g yarn
which yarn查看和设置镜像
查询下载源
bash
yarn config get registry设置为国内镜像
bash
yarn config set registry https://registry.npmmirror.com设置为官方镜像
bash
yarn config set registry https://registry.yarnpkg.com