How to install older version of node.js on Windows?

前端 未结 6 1837
孤独总比滥情好
孤独总比滥情好 2021-01-30 13:06

I need to install node.js of version 4.0.0 I tried this:

npm install -g npm@4.0.0 

But I got this message: npm is not recognized as an internal

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 13:07

    run:

    npm install -g node@7.10.1

    - or whatever version you want after the @ symbol (This works as of 2019)
    

提交回复
热议问题