降级 node.js - Windows

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/43230479/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-02 18:09:00  来源:igfitidea点击:

Downgrade node.js - Windows

node.js

提问by purer

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

甚至可以在 Windows 中管理 node.js 吗?我可以看到 unix 的示例,但不能看到 Windows 的示例。我找到了nodist但它看起来很旧。提示?

回答by beck

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/download/release/v10.17.0/

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

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

I dowloaded msi file and it works great.

我下载了 msi 文件,效果很好。

.

.

enter code here

回答by Sriman Pathy

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

您好,您可以使用此命令降级。 npm install -g node@version

let's assume you want to downgrade v8.11.3, the command would be npm install -g [email protected]

假设您要降级 v8.11.3,命令是 npm install -g [email protected]