4Geeks logo
4Geeks logo
About us

Learning library

For all the self-taught geeks out there, here our content library with most of the learning materials we have produces throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Full-Stack Software Developer

Data Science and Machine Learning - 16 wks

Search from all Lessons

Social & live learning

The most efficient way to learn: Join a cohort with classmates just like you, live streams, impromptu coding sessions, live tutorials with real experts, and stay motivated.

← Back to How to's

Continue learning for free about:

Edit on Github

How to install NVM on Windows

Written by:

Franky Lopez

Sometimes we would like to write all some code in a local environment, and we will need node.js to install all of our dependencies and run certain scripts. Ex:

1$ npm run build

This document will provide a guide on how install nvm and node.js for Windows environment.

Steps to install with nvm:

  1. Download nvm.
    In order to install Node Version Manager tool in Windows environment we need to download a zip file that contains the installation wizard.

  2. Install nvm.
    Go to your Downloads folder on Windows, and unzip nvm-setup.zip file and double click on nvm-setup.

  3. Installation Wizard.
    When the installation wizard opens, hit the next button a bunch of times, and at the end you will see an install button that you will hit too. After that, just wait for the progress bar to finish.

☝️ ?? Remember not to touch any default configuration. Always keep hitting next!!!

  1. Command Prompt.
    Once it is installed, open Windows Command Prompt. If you have any issues finding the command line, just type CMD in Windows search bar at the bottom-left corner of your desktop.

  2. Install node version 8 or whatever version you want.
    In the command prompt type the command below. If you want to check what are the current node versions, you can go to nodejs.org and check all of them. I would recommend using the recommended for most users.

1nvm install 8.15.0
  1. Checking installed node versions.
    Always check your installed node versions. Sometimes our applications do not run because we are using outdated versions. This command will show all the installed node versions you have in Windows.
1nvm list
  1. Changing between different node versions.
    You can always use different node versions and this command line let us jump between all our installed versions.
1nvm use 8.15.0

or

1nvm use 10.15.1

If you had any errors

Please file an issue here and we will do our best to help you. You can also contribute and pull-request any updates you think should be made to this guide.