简体   繁体   中英

Downgrade node.js - Windows

Is it even possible to manage node.js in windows? I can see examples for unix but not for Windows. I found nodist but it looks old. Hints?

Hi you can downgrade using this command. npm install -g node@version

let's assume you want to downgrade v8.11.3, the command would be npm install -g node@8.11.3

you can just uninstall the node from control panel and install the required node version from the node official site

https://nodejs.org/download/release/v10.17.0/

https://nodejs.org/en/download/

I dowloaded msi file and it works great.

使用 nvm 降级后,不要忘记重新启动您的电脑。

Docker would be a better solution than changing node versions. Docker allows you to containerize virtual environments with very little resources - perfect for laptop dev.

https://docs.docker.com/docker-for-windows/

If you are using Windows 7 then you can still use Docker with VMWare Workstation.

https://stefanscherer.github.io/yes-you-can-docker-on-windows-7/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM