Node.js 配置

下载地址:https://nodejs.org/en/download/

环境变量

全局目录&缓存

npm config set cache "D:\Program Files\nodejs\cache"
npm config set prefix "D:\Program Files\nodejs\global"

镜像配置

rem config方式
npm config set registry https://registry.npm.taobao.org 
npm info underscore

rem 指定
npm --registry https://registry.npm.taobao.org info underscore

There are no comment yet.

HTML tag cannot be used in this comment.