Introduction
NVS stands for Node Version Switcher, which is a cross-platform tool (works on windows, Linux and Mac workstations) used to maintain multiple node versions on the same machine. This tool installs the different node versions under the user profile folder in windows with out required to have the admin rights in your workstation. In other words, it will not disturb the C:\Program Files or C:\System32 folders.

Just like NVM (Node Version Manger)This tool manages all legacy and newer node versions independently and manages the runtime for you on the fly. As you see in the above screenshot, NVS can maintain multiple versions of node in same environment. Each version of the node can have its own tools and runtime.
The node is required for building SPFx (SharePoint Framework) solutions and building SPA (Single Page Applications) and many more.
Steps
Please follow the below steps to set up and configure NVS on windows workstation. Please note that all the steps are performed against windows 11 OS workstation.
Step 1. Let us check if the workstation has NVS (Node Version Switcher) already installed.

Step 2. Let us try installing NVS on windows machine. In Windows 11, winget is already installed as part of OS and MSFT recommends using winget to install and maintain the software from Github repository. At first it is required to open the command prompt as administrator.

Step 3. in the CMD window, try running the below command to install the NVS.
winget install jasongin.nvs –source winget

Step 4. Wait for the operation to complete. At the end you should be getting the message ‘Successfully installed’.

Step 5. Close the command window. Open the command window again in ‘Administrator Mode’. This is required. Once opened type in ‘nvs’ in the command window. This time if you can see the nvs version numbers you are good and proceed to step 8. Else if you are getting the ‘Self signed certificate issue’ as per below screen capture then proceed to step 6.













Join the conversation! Your thoughts help the community grow.