Prerequisites - noygal/node-course-exercise GitHub Wiki

You'll need node and git installed properly on you pc.

Linux

  • Uninstall via package manager:

    apt-get remove nodejs
    

    or drop the hammer

  • Install nvm

  • nvm usage

    nvm install latest
    nvm use latest 
    

    Note: you must run nvm use latest every time you start your terminal

Mac

If you install node via brew or nvm, then you are ready to go, if you install the binaries then uninstall

  • Install brew

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  • Install nvm

    brew update && brew install nvm
    
  • nvm usage

    nvm install latest
    nvm use latest 
    

    Note: you must run nvm use latest every time you start your terminal

Windows

If you insist to work with windows there are couple of options to install node:

  • Chocolatey sounds delicious - cli tool for installing windows apps/cli tools, install git and node with it.
  • nvm-windows, I would still recommend Chocolatey for git install with this option.

I think that currently the best option for working with node in windows environment is with virtual-box that has a linux installed on it, I recommend ElementaryOS, it simple, fast and beautiful. If you want to still use windows based IDE you'll need to share folders between the guest and host.