NVM (Node Version Manager)¶
NVM is a version management tool specifically designed for Node.js^[600-developer__tools__windows__THE-PACKAGE-MANAGER-FOR-WINDOWS.md]. It allows developers to install, switch between, and manage different versions of Node.js on a single system^[600-developer__tools__windows__THE-PACKAGE-MANAGER-FOR-WINDOWS.md].
Installation on Windows¶
On the Windows operating system, NVM is commonly installed as a package via Chocolatey, the package manager for Windows^[600-developer__tools__windows__THE-PACKAGE-MANAGER-FOR-WINDOWS.md]. To install Chocolatey, the following command must be executed in an elevated PowerShell session (opened as Administrator):
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Related Tools¶
In the context of development environments, NVM functions similarly to other version managers provided by package ecosystems. For example, SDKMAN serves a comparable role for the Java ecosystem (managing versions of Java, Gradle, and Maven)^[600-developer__tools__windows__THE-PACKAGE-MANAGER-FOR-WINDOWS.md].
Sources¶
^[600-developer__tools__windows__THE-PACKAGE-MANAGER-FOR-WINDOWS.md]