Node Version Manager (nvm-windows)
Node Version Manager (nvm-windows)
Overview
Node Version Manager for Windows (nvm-windows
) is a powerful utility that allows users to install, manage, and switch between multiple versions of Node.js on Windows systems.
Why Use nvm-windows?
Easily manage multiple Node.js versions.
Seamless switching between versions for different projects.
Lightweight and simple to use.
Installation Guide
Step 1: Download the Installer
Visit the official nvm-windows releases page.
Download the latest installer for your system.
Step 2: Install nvm-windows
Run the installer and follow the on-screen instructions.
Ensure that
nvm
is added to your system's PATH variable during installation.
Step 3: Verify Installation
Open Command Prompt or PowerShell.
Run the following command:
nvm version
If installed correctly, the version number of
nvm-windows
will be displayed.
Basic Usage
Listing Installed Node.js Versions
To view all Node.js versions currently installed:
nvm list
Installing a Specific Node.js Version
To download and install a specific version of Node.js:
nvm install <version>
Example:
nvm install 18.16.0
Switching to a Specific Version
To switch your environment to a specific Node.js version:
nvm use <version>
Example:
nvm use 20.17.0
Setting a Default Version
To set a default version that will be used for all new terminal sessions:
nvm alias default <version>
Example:
nvm alias default 20.17.0
Uninstalling a Version
To remove an installed version of Node.js:
nvm uninstall <version>
Example:
nvm uninstall 14.18.0
Troubleshooting
Common Issues
nvm
Command Not Found: Ensurenvm
is in your system PATH variable.Node.js Not Switching: Close and reopen your terminal after using the
nvm use
command.Version Installation Fails: Verify your internet connection and try reinstalling the version.
Where to Get Help
Additional Resources
License
nvm-windows
is distributed under the MIT License.
Contact
For feedback or suggestions, please reach out via the nvm-windows GitHub repository.
Last updated