查看版本:
npm -v
获取全局目录:
npm config get prefix
设置全局目录
npm config set prefix "D:Program Files
odejs
ode_global"
获取全局目录:
npm config get cache
设置全局缓存目录
npm config set cache "D:Program Files
odejs
ode_cache"
查看版本:
npm -v
获取全局目录:
npm config get prefix
设置全局目录
npm config set prefix "D:Program Files
odejs
ode_global"
获取全局目录:
npm config get cache
设置全局缓存目录
npm config set cache "D:Program Files
odejs
ode_cache"