Change default global installation directory for node.js modules in Windows?

前端 未结 14 1645
遇见更好的自我
遇见更好的自我 2020-11-28 01:02

In my windows installation PATH includes C:\\Program Files\\nodejs, where executable node.exe is. I\'m able to launch node

14条回答
  •  时光说笑
    2020-11-28 01:35

    Using a Windows symbolic link from the C:\Users{username}\AppData\Roaming\npm and C:\Users{username}\AppData\Roaming\npm-cache paths to the destination worked great for me.

    How to add a symbolic link

提交回复
热议问题