Installing NVM for Windows

This is an optional step that will make it easier for you to manage versions of NodeJS in the future. NVM stands for Node Version Manager. For now, just install and configure it and move on.

  1. Go to the following URL https://github.com/coreybutler/nvm-windows/releases, scroll down and grab the latest EXE or MSI under the ASSETS section.
  2. NVM allows you to manage multiple versions of NodeJS. If you’ve never installed NodeJS before, you’ll only have one version of NodeJS installed on your machine. NVM will detect this version and ask you if you want NVM to take control of it. NVM is just a tool, so it doesn’t matter where it’s installed so long as it has access to the location where NodeJS is installed (normally C:\Program Files\nodejs)
  3. Launch the installer either from your browser’s download area, or by opening File Explorer and going to the downloads folder.
  4. Follow the instructions below to install and configure NVM.

Change the Destination Location to “C:\Program Files\NVM”

Choose “YES” to allow NVM to take control.

  1. Open a new command prompt in admin mode
  2. Type “nvm list” and hit enter
  3. You should something similar to the screenshot below. There should be a single version of NodeJS listed, with an asterisk next to it, indicating it is the current version.
  1. If you don’t see an asterisk next to the latest version, or see multiple versions and the latest version does not have an asterisk next to it, type “nvm use <latest version number>” and hit enter to switch to that version.