npm是node内置的资源管理器
查看npm版本:npm -V
npm镜像:
淘宝npm镜像registry地址:http://registry.npm.taobao.org
cnpmjs镜像registry地址:http://r.cnpmjs.org
设置镜像源:npm config set registry 镜像地址
查看镜像源:npm config get registry
npm是node内置的资源管理器
查看npm版本:npm -V
淘宝npm镜像registry地址:http://registry.npm.taobao.org
cnpmjs镜像registry地址:http://r.cnpmjs.org
设置镜像源:npm config set registry 镜像地址
查看镜像源:npm config get registry