How can I change the cache path for npm (or completely disable the cache) on Windows?

后端 未结 5 1204
陌清茗
陌清茗 2020-12-12 12:44

I\'ve installed Node.js on my Windows 7 x64 development machine, the manual way:

mkdir C:\\Devel\\nodejs
cd C:\\De         


        
5条回答
  •  半阙折子戏
    2020-12-12 13:28

    In addition, I found that running an update command works also - for example:

    npm update npm
    

    Lastly, one can check their npm-cache directory to see if is being filled or not.

提交回复
热议问题