Node Version Manager (NVM) is a POSIX-compliant bash script to manage multiple active node.js versions.
NVM allows you to install and switch between multiple versions of Node.js. This is particularly useful for testing and developing applications that rely on different Node.js versions.
- Install and manage multiple Node.js versions.
- Switch between different Node.js versions seamlessly.
- List installed Node.js versions.
- Remove Node.js versions that are no longer needed.
To install NVM, follow these steps:
-
Clone the repository:
git clone https://github.com/nodoubtz/nvm.git
-
Navigate to the project directory:
cd nvm
-
Run the installation script:
./install.sh
To use NVM, follow these commands:
-
Install a specific Node.js version:
nvm install <version>
-
Switch to a specific Node.js version:
nvm use <version>
-
List installed Node.js versions:
nvm list
-
Remove a specific Node.js version:
nvm uninstall <version>
For more detailed usage instructions, refer ▋