How to do it...

  1. Visit the project release page: https://github.com/coreybutler/nvm-windows/releases.
  2. Download the latest nvm-setup.zip file.
  3. Extract the downloaded ZIP.
  4. Double-click nvm-setup.
  5. Go through the wizard to complete the installation.
  6. Open the Command Prompt.
  7. Confirm the installation by checking the version number of nvm:
    > nvm version
    1.1.6 
  1. List all of the Node.js versions available for installation:
    > nvm list available
  1. Install the latest LTS or stable version (at time of writing, version 8.9.4 is the latest LTS version):
    > nvm install 8.9.4
    6.11.0
    Downloading node.js version 8.9.4 (64-bit)...
    Complete
    Creating C:UsersrtharAppDataRoamingnvmtemp
    
    Downloading npm version 5.6.0... Complete
    Installing npm v5.6.0...
    
    Installation ...

Get ECMAScript Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.