Skip to content
Jim Cowart edited this page Sep 11, 2015 · 6 revisions

Windows

Verify the version of node that you need (we're currently running v0.12.7). Download the windows x64 installer for that version and install node. (Current node downloads are here, but remember to verify it's a version we're using!)

NOTE: You will rarely need to run multiple version of node on windows, as 99% of your node development will be on Mac/Linux. This is why we did away with using nodist and prefer the plain installers instead.

Mac/Linux

Prerequisites:

  • If it's not already installed for some reason, install Git

Do NOT use HomeBrew or any other package manager to install Node. If you have done so, you will need to remove it, and start with a clean slate

For Mac OS X & Linux, we are using nvm (Node Version Manager).

  • Following the instructions on that page to install nvm.
  • Verify that your .bashrc, .profile or .zshrc was, in fact, updated with a line sourcing nvm.
  • If it wasn't, then add this to your .bashrc, .profile or .zshrc (whichever is relevant to your system):
source ~/.nvm/nvm.sh
nvm use default
  • Next install any node versions which you will need. (nvm ls-remote will show you all the versions available. Typing nvm in your terminal will show you what commands are available).
  • Pick your default version of node and alias it. For example, running nvm alias default v0.10 in your terminal will ensure that the latest version of v0.10 on your machine will be the default Node.js version. (And since you added nvm use default in your dotfile, when you open a terminal, that version will be in place.)

Clone this wiki locally