To switch to the latest available Node.js version using NVM, use the command nvm use node. This command activates the most recent stable release installed on your system for the current terminal session.

If you want this latest version to be the default for all future terminal sessions, you can set it as the default alias using nvm alias default node. This ensures that every new shell automatically loads the latest Node version without requiring manual switching.

To verify the active version, you can run node -v or nvm current. Note that globally installed packages do not automatically migrate between versions; you may need to reinstall them for the new version using flags like --reinstall-packages-from during installation if switching from a different version.

AI-generated answer. Please verify critical facts.
🌐
GitHub
github.com › nvm-sh › nvm
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions · GitHub
If you've already gotten an error to the effect of "npm does not support Node.js", you'll need to (1) revert to a previous node version (nvm ls & nvm use <your latest _working_ version from the ls>), (2) delete the newly created node version ...
Starred by 93K users
Forked by 10.1K users
Languages   Shell 98.2% | Makefile 1.1%
🌐
NVM Documentation
nvmnode.com › cli › nvm-use-node.html
Switching Node Versions with NVM - NVM Documentation
# Use latest stable version $ nvm use node Now using node v16.14.0 (npm v8.3.1) # Use latest LTS version $ nvm use lts/* Now using node v16.13.2 (npm v8.1.2) # Use specific LTS version $ nvm use lts/gallium Now using node v16.13.2 (npm v8.1.2) On Windows systems, you can specify whether to use the 32-bit or 64-bit version:
Discussions

shell - How to change Node.js version with nvm - Stack Overflow
I'm using Yeoman to create a project. When I try to use Gulp.js I run the command gulp serve. An error tells me that I need an older version of Node.js (8.9.4), knowing that I've installed the latest More on stackoverflow.com
🌐 stackoverflow.com
Tip for easily switching between Node.js versions ?
🌐 r/node
16
7
6 October 2025
node.js - How can I change the version of npm using nvm? - Stack Overflow
I've been using NVM to install the latest versions of Node.js for my Node.js work. It works totally fine for installing separate versions and switching between them. It also installs the latest version of NPM within each local .../bin folder along with the Node.js binary. More on stackoverflow.com
🌐 stackoverflow.com
Is there a project level way to specify nvm versions and avoid nvm use?
You can add a `.nvmrc` file to the project to store the version, but you'll still need to `nvm use` inside the directory to take advantage of it. I don't know of another way. More on reddit.com
🌐 r/node
21
17
8 January 2023
🌐
DEV Community
dev.to › shaundai › how-to-switch-to-using-new-version-of-node-using-nvm-2pfi
How to switch to using new version of node using nvm - DEV Community
21 July 2025 - SWITCH TO A NEW VERSION (TEMPORARY) If you want to switch to a new version of node temporarily, use the command nvm use [version]
🌐
LogRocket
blog.logrocket.com › home › how to switch node.js versions: a cross-platform guide for nvm and alternatives
How to switch Node.js versions: A cross-platform guide for NVM and alternatives - LogRocket Blog
24 March 2025 - Running nvm install node installs the latest Node version available at the time. If we want to install v12.22.7, we simply run nvm install 12.22.7: ... This downloads v12.22.7 from the source and installs it.
🌐
Medium
medium.com › @madhawaawishka › switching-node-js-versions-with-nvm-53aff64ac4f2
Switching Node.js Versions with nvm | by Madhawa Awishka | Medium
17 July 2024 - // check version node -v || node --version // list locally installed versions of node nvm ls // list remove available versions of node nvm ls-remote // install specific version of node nvm install 18.16.1 // set default version of node nvm alias default 18.16.1 // switch version of node nvm use 20.5.1 // install latest LTS version of node (Long Term Support) nvm install --lts // install latest stable version of node nvm install stable · In conclusion, nvm (Node Version Manager) is an essential tool for developers working with Node.js.
🌐
Dead Simple Chat
deadsimplechat.com › blog › how-to-switch-node-js-versions-with-nvm
How to switch Node.js versions with NVM
18 September 2024 - generally windows users use WSL for development and windows is also encouraging this. But if for any reason you need to install nvm on your windows machine ... you can also set a node js version as default on your machine. It can be the latest version or it can be any version that you desire
🌐
Reddit
reddit.com › r/node › tip for easily switching between node.js versions ?
r/node on Reddit: Tip for easily switching between Node.js versions ?
6 October 2025 -

Hello everyone 👋

I'm quite new to the Node.js ecosystem and I've run into a problem. I'm working on a school project that requires a specific Node version (let's say v16), but at the same time, I'm trying to run a personal project I found on GitHub that only works with the latest version (v20+).

For now, my only solution is to uninstall and reinstall the correct version every time I switch projects, which is really tedious 😥

I imagine there must be a simpler way to do this. How do you easily switch between Node.js versions on your machine? Is there a 'standard' tool that everyone uses?

Thanks in advance for your help 🙏

Find elsewhere
🌐
Medium
medium.com › @jamylam3 › easily-switch-between-node-versions-using-node-version-manager-nvm-14619007ebef
EASILY SWITCH BETWEEN NODE VERSIONS USING NODE VERSION MANAGER (NVM) | by Mila | Medium
15 November 2023 - Now you can issue the following commands to use nvm. i) To check available node versions — nvm list available ii) To install the specific node version — nvm install iii) To install the latest version — nvm install latest x
🌐
SitePoint
sitepoint.com › blog › javascript › installing multiple versions of node.js using nvm
Installing Multiple Versions of Node.js Using nvm — SitePoint
3 March 2025 - So if you install the latest Node.js version, and run node -v right after, you’ll see the latest version output. To switch through installed versions, nvm provides the nvm use command. This works similarly to the install command.
🌐
Swovo
swovo.com › blog › how-to-set-a-default-node-version-with-nvm
How to Change Node Version with NVM (and Set Default) | Swovo
25 January 2024 - How to set a default Node version and change Node versions using NVM. Step-by-step instructions for managing multiple Node.js environments.
🌐
OpenReplay
blog.openreplay.com › switch-nodejs-versions-linux-nvm
How to Switch Node.js Versions on Linux using NVM (Step-by-Step Guide)
Using NVM simplifies managing multiple Node.js environments significantly. It enables quick switching, avoids version conflicts, and keeps your Linux development workflow smooth. Do I need root permissions to install Node.js with NVM?
🌐
OpenReplay
blog.openreplay.com › switch-nodejs-versions-windows-nvm
How to Switch Node.js Versions on Windows using NVM (Step-by-Step Guide)
28 March 2025 - Run nvm use <version> again. Cause: Symlink creation needs elevated privileges. ... Enable Windows Developer Mode (Settings > Update & Security > For developers). Cause: Path environment not updated.
🌐
2coffee
2coffee.dev › en › articles › how-to-use-and-tips-for-nvm-node-version-manager
How to Use and Tips for nvm - Node Version Manager
1 day ago - # Download version 18 $ nvm install 18 # List installed versions $ nvm ls v16.18.1 -> v18.17.1 # Select version 16 $ nvm use 16 # Run your code $ node index.js · Once you select version 16, this Terminal session will be using Node 16, allowing you to start Node/JavaScript applications with the chosen version.
🌐
Harrk Blog
harrk.dev › how-to-switch-between-node-versions-using-nvm
How To Switch Between Node.js Versions Using nvm
18 March 2024 - The version of nvm does not relate to the version of Node.js you have installed. Now all we need to do is pick a version of Node.js to install. Which is... as simple as a single command: ... This will go ahead and install the latest version of Node.js available.
🌐
DEV Community
dev.to › maurerkrisztian › automate-your-nvm-version-switching-1fb9
Automate Your Node.js Version Switching - DEV Community
13 March 2024 - With nvm installed, I will guides you through the process of adding specific scripts to your .bashrc or .zshrc file. These scripts enable your shell to automatically find the .nvmrc file in your project directory and switch to or install the Node.js version it specifies.
🌐
Better Programming
betterprogramming.pub › how-to-change-node-js-version-between-projects-using-nvm-3ad2416bda7e
How to Change Node.js Version Between Projects Using NVM | by Code Road | Better Programming
22 October 2023 - So, this article is about how to update the Node versions between projects. NVM usage is available for both Long-term support (LTS) versions of Node.js and the latest version. Unless you already use Docker container projects, you’ll be fine with your Node version.
🌐
BairesDev
bairesdev.com › home › blog › software development
Change Node Version: A Step-by-Step Guide | All Environments
The above command will download and run the NVM installation script installing the latest version of Node Version Manager (NVM) on your system to help you with changing of NodeJS versions in your workflow during NodeJS development.
🌐
GitHub
gist.github.com › chranderson › b0a02781c232f170db634b40c97ff455
Useful NVM commands · GitHub
nvm ls-remote nvm ls-remote | grep -i "latest" nvm ls-remote | grep -i "<node_version>" nvm list node // Lists installed Node versions nvm list (or) nvm ls // Lists installed Node versions with additional release info · nvm use node // Switch ...
switchitch to latest node with nvm - Brave Search