如何降级节点版本 [英] How to downgrade Node version

查看:163
本文介绍了如何降级节点版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将Node版本从最新版本降级为v6.10.3.

I want to downgrade my Node version from the latest to v6.10.3.

但是到目前为止没有任何效果.尝试了NVM,并且通过说未找到make命令也给出了错误.如何降级Node?

But nothing worked so far. Tried NVM and it gives an error as well by saying make command is not found. How can I downgrade Node?

推荐答案

您可以将n用于节点的版本管理. 那里n的简单介绍.

You can use n for node's version management. There is a simple intro for n.

$ npm install -g n
$ n 6.10.3

这非常易于使用.

然后您可以显示您的节点版本:

then you can show your node version:

$ node -v
v6.10.3

这篇关于如何降级节点版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆