Skip to content

NVMNode Version Manager

Easily manage multiple Node.js versions

NVM Logo

What is NVM?

NVM (Node Version Manager) is a tool that allows developers to easily install, manage, and work with multiple Node.js versions. Whether you need to test your application across different Node.js versions or work on projects with specific version requirements, NVM makes it simple to switch between environments.

Why Use NVM?

  • Avoid version conflicts between different projects
  • Test compatibility across multiple Node.js versions
  • Easily upgrade or downgrade Node.js as needed
  • Eliminate permission issues common with global Node.js installations
  • Maintain consistent environments across development teams

Quick Start

Windows

bash
# Install a specific Node.js version
nvm install 18.16.0

# Use the installed version
nvm use 18.16.0

# Set a default version
nvm alias default 18.16.0

Linux/macOS

bash
# Install a specific Node.js version
nvm install 18.16.0

# Use the installed version
nvm use 18.16.0

# Set a default version
nvm alias default 18.16.0

Getting Started

Ready to get started with NVM? Follow these steps:

  1. Download NVM for your operating system
  2. Follow the installation guide to set up NVM
  3. Learn the basic commands to manage your Node.js versions
  4. Check the FAQ for common questions and troubleshooting

Community and Support

Built with VitePress