vue开发环境搭建,全是干货

下载安装,下载地址

https://nodejs.org/dist/v18.16.0/node-v18.16.0-x64.msi

修改npm镜像源
npm config set registry https://registry.npmmirror.com


安装cnpm
npm install -g cnpm --registry=https://registry.npmmirror.com

安装pnpm
npm install pnpm -g
配置镜像源
pnpm config set registry https://registry.npmmirror.com

安装yarn
npm install -g yarn 
yarn config set registry https://registry.npmmirror.com -g 
 

你可能感兴趣的:(vue.js,javascript,npm)