nodejs安装淘宝npm镜像【cnpm】
安装完nodejs后【自带npm】
如果npm无法使用或需要FQ,可以先安装cnpm,然后使用cnpm install安装模块
安装全局cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
安装模块就使用
cnpm install [模块名]
同步模块
cnpm sync connect
博客园作者:herry菌朋友,看到这里,关注作者的公众号吧,不漏掉更新哦