For nvm-windows (Windows)
To install and use the latest LTS release of Node.js:
nvm install lts
nvm use lts
For nvm (Linux, OSX, WSL)
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
Answer from Christian Davén on Stack Overflownode.js - installing node lts with nvm on windows - Stack Overflow
Should I use `nvm use lts/dubnium` or `nvm use 10` and why?
How should I install Node JS?
[How-To] Install Node.js on Windows the Recommended Way
Videos
For nvm-windows (Windows)
To install and use the latest LTS release of Node.js:
nvm install lts
nvm use lts
For nvm (Linux, OSX, WSL)
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
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.
`nvm use lts/dubnium` and `nvm use 10` resolve to the same version and it seems to me like they always will? as I can't imagine why LTS would stop but a new version then is released after?
So is there any reason for installing `lts/dubnium` via during each build instead of `nvm use 10` ?