Windows 系统下设置Nodejs NPM全局路径

 更新时间:2016年4月27日 10:09  点击:1899

在开发过程中我们可能希望重新设置npm的全局路径,具体方法如下:

npm config set cache "D:\nodejs\node_cache"

npm config set prefix "D:\nodejs\node_global"



[!--infotagslink--]

相关文章