updating node.js in windows 7 64 bit

前端 未结 2 894
抹茶落季
抹茶落季 2021-02-12 14:13

How to update node.js in Windows 7 64-bit OS?

I tried the famous :

npm cache clean -f
npm install -g n
n stable

But in npm insta

相关标签:
2条回答
  • 2021-02-12 14:36

    You can update simply by executing the Windows installer for the latest node.js version from here.

    n doesn't work on Windows because it's basically a giant (bash) shell script.

    0 讨论(0)
  • 2021-02-12 14:50

    As @mscdex mentioned in the comment above, you cannot use the bash shell script on Windows.

    The correct link to update from Windows would be this one.

    Then you should click on the right link saying " Current".

    0 讨论(0)
提交回复
热议问题