Efficient Node.js Management using NVM (Node Version Manager)
February 10, 2026
Efficient Node.js Management using NVM (Node Version Manager)
Using NVM (Node Version Manager) makes it easy to switch between different Node.js versions for each project, making development environment configuration much more pleasant.
Install NVM
Execute the NVM installation script by entering the command below in the terminal.
You can check for the latest version and modify it as needed before installation.
You can check for the latest version and modify it as needed before installation.
Install NVMsh
Configure Shell
After installation, the settings are added to your shell environment file (such as
To apply the changes immediately, enter the following command.
~/.zshrc or ~/.bashrc).To apply the changes immediately, enter the following command.
Apply configure in shellsh
Install Node.js
If NVM is installed correctly, you can now install the desired version of Node.js.
I recommend installing the
I recommend installing the
latest LTS version.Install Node.jssh
Specific versions can also be installed.
Install specific version of Node.jssh
Manage Versions
You can check installed versions or switch between them freely.
| Command | Description |
|---|---|
nvm ls | Check all installed Node versions |
nvm use <version> | Switch to a specific version |
nvm alias default <version> | Set default version when terminal starts |