Search code examples
node.jswindowsnvm

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?


Solution

  • 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