36

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?

Joey Baruch
  • 4,180
  • 6
  • 34
  • 48

5 Answers5

61

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
Christian Davén
  • 16,713
  • 12
  • 64
  • 77
20

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.

Joey Baruch
  • 4,180
  • 6
  • 34
  • 48
6
nvm install --lts.14.15.4

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

xm0415 xiong
  • 77
  • 1
  • 1
2

Removing the prepended -- from lts worked for me (instead of nvm install --lts):

nvm install lts
code
  • 5,690
  • 4
  • 17
  • 39
talha_ah
  • 314
  • 6
  • 12
1

Sometimes it not working of nvm install --lts then try to below code is working

nvm install lts

Showing the list of package nodes is below

nvm list

Also, remove old npm package used

npm uninstall 18.16.0