Nodejs使用第三方包管理器PNPMOn this page使用第三方包管理器PNPM安装npm install -g pnpm查看版本pnpm -v镜像源相关配置获取当前配置的镜像地址pnpm config get registry设置新的镜像地址这里使用阿里云提供的镜像pnpm set registry https://registry.npmmirror.com设置包存储路径查看当前包存储路径pnpm store path将包存储路径设置为d:/pnpmpnpm config set store-dir d:/pnpm