Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing node lts with nvm on windows

I've installed nvm on windows (from here), but running nvm install lts prints:

lts.0.0  
Node.js vlts.0.0 is only available in 32-bit.

How do I install node lts on windows?

like image 482
Joey Baruch Avatar asked Sep 22 '20 02:09

Joey Baruch


People also ask

Does NVM install node?

Installing Node Version Manager. Node Version Manager, or nvm, allows you to install, update, and uninstall Node on your system, and also to manage multiple versions of Node that you can switch between.

Does NVM install node install npm?

js and npm is through Node. js Version Manager, or nvm. With nvm, you can install multiple versions of both the Node.

How do I use NVM to manage node versions?

Switching among Node. 7; we can simply run either nvm use 12.22. 7 or nvm use 16.13. 0 to easily switch into either version we need. Note that since we only have one version that begins with 12, 14, or 16, we can switch versions with a simple nvm use 16 , nvm use 14 , or nvm use 12 command.


3 Answers

To install and use the latest LTS release of Node.js:

nvm install --lts
nvm use --lts

To install and use a specific LTS release of Node.js:

nvm install lts/erbium
nvm use lts/erbium
like image 106
Christian Davén Avatar answered Oct 23 '22 05:10

Christian Davén


Following this github comment, just run nvm list available and then nvm install x.y.z

Don't forget to nvm use x.y.z after you're done. I used this manual - in case it helps.

like image 31
Joey Baruch Avatar answered Oct 23 '22 04:10

Joey Baruch


nvm install --lts.14.15.4

Downloading node.js version 14.15.4 (64-bit)... Complete

like image 4
xm0415 xiong Avatar answered Oct 23 '22 04:10

xm0415 xiong