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.
Install NVM
sh

Configure Shell

After installation, the settings are added to your shell environment file (such as ~/.zshrc or ~/.bashrc).
To apply the changes immediately, enter the following command.
Apply configure in shell
sh

Install Node.js

If NVM is installed correctly, you can now install the desired version of Node.js.
I recommend installing the latest LTS version.
Install Node.js
sh
Specific versions can also be installed.
Install specific version of Node.js
sh

Manage Versions

You can check installed versions or switch between them freely.
CommandDescription
nvm lsCheck all installed Node versions
nvm use <version>Switch to a specific version
nvm alias default <version>Set default version when terminal starts
Jooojub
System S/W engineer
Explore Tags
Series
    Recent Post
    © 2026. jooojub. All right reserved.