Install Node.js
This is Bevry's supported guide for installing Node.js on your coputer as well as any other required dependencies for your particular system. It may seem seem a bit intimidating, but it's actually really easy and only takes a few minutes.
On Linux (Mac OSX, Ubuntu, Fedora, etc)
Mac OSX Preperation
- Download & Install Git
-
Once installed, you'll have to install the command line tools. To do this, open Xcode and go to
Preferences -> Downloads -> Command Line Tools -> InstallIf you installed Xcode over a old non app store version, you'll want to run the follow to ensure everything is pointing to the new xcode location:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
APT Linux Preperation (Ubuntu)
sudo apt-get update && sudo apt-get install curl build-essential openssl libssl-dev git pythonYUM Linux Preperation (Fedora)
sudo yum -y install tcsh scons gcc-c++ glibc-devel openssl-devel git pythonInstall Node.js
Via Mac OSX Installer
- Uninstall any previous Node.js versions you may already have
- Download & Install the Node.js Mac OSX Installer
Ensure the correct permissions are set by running the following in Terminal:
sudo chown -R $USER /usr/local
Via Node Version Manager
- Uninstall any previous Node.js versions you may already have
Install NVM by running the following in Terminal:
git clone git://github.com/creationix/nvm.git ~/.nvm printf "\n\n# NVM\nif [ -s ~/.nvm/nvm.sh ]; then\n\tNVM_DIR=~/.nvm\n\tsource ~/.nvm/nvm.sh\nfi" >> ~/.bashrc NVM_DIR=~/.nvm source ~/.nvm/nvm.shInstall Node.js by running the following in Terminal:
nvm install v0.10.5 nvm alias default 0.10 nvm use 0.10
On Windows
Download & Install Git
IMPORTANT. When installing, make sure you install with the option of making git available to the windows command line.
Download & Install Node.js