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 Overflow
🌐
LogRocket
blog.logrocket.com › home › how to install and use nvm
How to install and use NVM - LogRocket Blog
March 10, 2025 - LTS versions are supported for an extended period and receive critical bug fixes and security updates, ensuring stability for your applications. Use nvm install lts/* to install the latest LTS.
🌐
Chris Wiegman
chriswiegman.com › home › blog › installing node lts with the latest npm using nvm
Installing Node LTS with The Latest NPM using NVM | Chris Wiegman
August 4, 2025 - The following one-liner will install the latest Node.js LTS version and the latest NPM all in one. It’s so much faster that splitting it out and can really help make sure that your toolchain is up to date. nvm install --lts --latest-npmCode language: Bash (bash)
Discussions

node.js - installing node lts with nvm on windows - Stack Overflow
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? More on stackoverflow.com
🌐 stackoverflow.com
Should I use `nvm use lts/dubnium` or `nvm use 10` and why?
Use 10. While there shouldn’t be a difference, in practice... other project members may not be aware that “dubnium” is the codename for node 10 there’s a small but non-zero chance the tags could get out of sync Since your requirement is for version 10, you might as well be explicit about that “10” is easier to type [Edit] One difference appears to be that nvm doesn't provide a way of tracking LTS releases by numeric version. To do that you need to use the alias. This doesn't appear to be an advantage, as it looks like nvm immediately resolves any alias you provide on the command line to the underlying numeric version anyway. More on reddit.com
🌐 r/node
13
8
August 21, 2019
How should I install Node JS?
Install nvm. Live it. Learn it. Love it. More on reddit.com
🌐 r/node
24
0
December 20, 2024
[How-To] Install Node.js on Windows the Recommended Way
I recently needed to install Node.js on Windows for a project, and after some trial and error, I found that using NVM (Node Version Manager) was the best and easiest way. Here’s exactly how I did it: Steps to Install Node.js with NVM on Windows Download NVM for Windows I started by downloading the nvm-setup.exe file from the official NVM for Windows GitHub page. You can grab it from this link . Install NVM After downloading, I just double-clicked the nvm-setup.exe file and followed the installation wizard’s steps. It’s straightforward and takes only a minute or two. Check NVM Installation To make sure NVM was installed correctly, I opened the Command Prompt (as an admin) and ran: nvm --version If you see the version number appear, you’re good to go! 4. Install Node.js Using NVM Here’s the fun part: you can install any Node.js version using NVM. For the latest LTS (Long-Term Support) version, I typed: nvm install lts NVM automatically downloads and installs the specified version. 5. Switch Between Node.js Versions To check all the installed versions of Node.js, I ran: nvm list And when I wanted to use a specific version, this command worked perfectly: nvm use For example: nvm use 18.16.0 6. Verify Node.js Installation Finally, I made sure everything was working by typing: node --version This confirmed the Node.js version I installed. Extra Tip If you’re looking for more guides on installing tools like Node.js and npm, I found this guide super helpful: How to Install Node.js and npm on Debian 11. It’s written for Debian, but the concepts are easy to adapt to other setups. More on reddit.com
🌐 r/node
3
11
April 4, 2023
🌐
Radixweb
radixweb.com › blog › guide-to-install-nvm-on-windows-linux-and-mac
Guide to Install NVM (Node Version Manager) on Different OS
October 17, 2024 - Are you struggling to switch between different versions of Node? This user guide will help you install NVM on Windows, Linux, and Mac to switch Node environments easily.
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › javascript › nodejs-on-windows
Set up Node.js on native Windows | Microsoft Learn
Install the latest stable LTS release of Node.js (recommended) by first looking up what the current LTS version number is with: nvm list available, then installing the LTS version number with: nvm install <version> (replacing <version> with ...
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › javascript › nodejs-on-wsl
Install Node.js on Windows Subsystem for Linux (WSL2)
In a later step, you'll learn how to switch between active versions of Node.js with an nvm command. Install the current stable LTS release of Node.js (recommended for production applications): nvm install --lts
Find elsewhere
🌐
GitHub
github.com › nvm-sh › nvm
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
In addition, the following commands support LTS arguments: nvm install --lts / nvm install --lts=argon / nvm install 'lts/*' / nvm install lts/argon
Starred by 90.4K users
Forked by 9.7K users
Languages   Shell 98.0% | Makefile 1.2%
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-node-js-on-ubuntu-22-04
How to Install Node.js on Ubuntu (Step-by-Step Guide) | DigitalOcean
May 28, 2025 - For example: nvm use node or nvm use --lts. ... Yes. This is a common requirement for developers. The best way to manage multiple Node.js versions on a single system is by using a version manager. Node Version Manager (NVM) is the most popular tool for this. NVM allows you to install multiple Node.js versions side-by-side, switch between installed versions globally or per project, and set a default Node.js version.
🌐
DEV Community
dev.to › ms314006 › how-to-install-npm-through-nvm-node-version-manager-5gif
How to install npm through NVM(Node version manager)? - DEV Community
August 2, 2020 - The first way is node installer ... to the website of node, download the node installer and install it(Whatever you choose the LTS or Current version), you will got npm when you finished.
🌐
Node.js
nodejs.org › en › download
Node.js — Download Node.js®
BashCopy to clipboard and their installation scripts are not maintained by the Node.js project. If you encounter any issues please visit 's website ... Read the changelog or blog post for this version. Learn more about Node.js releases, including the release schedule and LTS status.
🌐
DreamHost
help.dreamhost.com › hc › en-us › articles › 360029083351-Installing-a-custom-version-of-NVM-and-Node-js
Installing a custom version of NVM and Node.js – DreamHost Knowledge Base
Run the following command to confirm nvm is now installed. ... Check which versions of Node.js are available. ... Install any version of Node.js you wish. Versions noted as LTS (Long Term Stable) are recommended.
🌐
RealWorldDev
realworlddev.hashnode.dev › installing-nvm-on-windows-11
How to Install NVM on Windows 11
March 2, 2022 - Now when I go back to my terminal from earlier, I list my versions of node installed, enter which version to switch to and verify just to make sure: So what happens when you get to work on another project and lets pretend it's a legacy project from a few years back. You clone the latest code from your repository and a previous developer has kindly stated in the ReadMe file that you need Node version 12.13.1 to be able to serve the application. Now you have NVM Windows installed, this is nice and easy using 'nvm install' and 'nvm use':
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to install nvm on ubuntu
How to Install NVM on Ubuntu | phoenixNAP KB
April 24, 2025 - This command downloads and installs the most recent version labeled as the current stable release, which in this case is v23.11.0. However, current releases often include the newest features, which are sometimes not production-ready.
🌐
HeyNode
heynode.com › tutorial › install-nodejs-locally-nvm
Install Node.js Locally with Node Version Manager (nvm) | HeyNode
In this tutorial we walked through installing the nvm bash script and making sure it works. Then we used nvm to install the latest LTS release of Node.js and set it as our environment’s default Node.js version.
🌐
GeeksforGeeks
geeksforgeeks.org › node.js › installation-of-node-js-on-linux
How to Install Node.js on Linux - GeeksforGeeks
July 12, 2025 - You can do this by running the following command: source ~/.bashrc · bash · To install the latest LTS (Long Term Support) version of Node.js, run: nvm install --lts · Switch Node.js Versions ·
🌐
Refine
refine.dev › blog › install-nvm-mac-and-windows
How to Install and Use NVM? | Refine
July 5, 2024 - This integration of NVM with the tooling will become a smooth and efficient workflow. ... This command lists/displays all the Nodejs versions we have on our machine. ... v14.17.1 v14.18.1 v16.9.0 -> v16.17 system default -> node (-> v16.17.0) node -> stable (-> v16.17.0) (default) stable -> 16.17 (-> v16.17.0) (default) iojs -> N/A (default) unstable -> N/A (default) lts/* -> lts/gallium (-> v16.17.0) lts/argon -> v4.9.1 (-> N/A) lts/boron -> v6.17.1 (-> N/A) lts/carbon -> v8.17.0 (-> N/A) lts/dubnium -> v10.24.1 (-> N/A) lts/erbium -> v12.22.12 (-> N/A) lts/fermium -> v14.20.0 (-> N/A) lts/gallium -> v16.17.0
🌐
SitePoint
sitepoint.com › blog › javascript › installing multiple versions of node.js using nvm
Installing Multiple Versions of Node.js Using nvm — SitePoint
March 3, 2025 - No, NVM allows you to install and manage stable, LTS (Long-Term Support), and even development versions of Node.js.
🌐
GitHub
gist.github.com › d2s › 372b5943bce17b964a79
Installing Node.js to Linux & macOS & WSL with nvm · GitHub
Warning: Failed to create the file Warning: /home/hassansani/.nvm/.cache/src/node-v14.16.1/node-v14.16.1.tar.xz: Warning: Permission denied curl: (23) Failure writing output to destination Binary download from https://nodejs.org/dist/v14.16.1/node-v14.16.1.tar.xz failed, trying source. grep: /home/hassansani/.nvm/.cache/src/node-v14.16.1/node-v14.16.1.tar.xz: No such file or directory Provided file to checksum does not exist. looks like a permission issue, do you have root privileges when executing the command? try executing sudo -i first and then try again ... Installing latest LTS version.
🌐
Liquid Web
liquidweb.com › home › how to install node.js on ubuntu 22.04 via nvm
How to Install Node.js on Ubuntu 22.04 via NVM | Liquid Web
February 19, 2025 - To see all Node.js versions installed by NVM, run the nvm ls command: ... That node v18.13.0 was installed and is currently active (notice the arrow pointing to the version value of v18.13.0). That there’s also the system Node.js from apt. That default points to node alias (for latest Node). Let’s add another Node version, say Node v16, which was is the current LTS (Long Term Support) instance at the time of this article’s publication.