[英]How do I downgrade node.js?
So when I did all of my installations and such, I downloaded node.js 15.something instead of 14.15.1 LTS.因此,当我完成所有安装等时,我下载了 node.js 15.something 而不是 14.15.1 LTS。 How would I go about downgrading this, preferably with the
n
or nvm
commands.我将如何 go 关于降级,最好使用
n
或nvm
命令。 I have tried doing n 14.15.1
, n lts
, and nvm use 14.15.1
, however none of them have worked我试过做
n 14.15.1
, n lts
lts 和nvm use 14.15.1
,但是他们都没有工作
Check which versions you have installed using the command nvm ls
使用命令
nvm ls
检查您安装了哪些版本
If you don't have the version you'd like to downgrade to, you need to install the version you want first and then you can use it.如果您没有想要降级到的版本,则需要先安装您想要的版本,然后才能使用它。
nvm install 14.15.1
nvm use 14.15.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.