Skip to content

Instantly share code, notes, and snippets.

@blahah
Created May 20, 2016 12:49
Show Gist options
  • Save blahah/eac94dcb9c152a63760ccdf3933bbdd2 to your computer and use it in GitHub Desktop.
Save blahah/eac94dcb9c152a63760ccdf3933bbdd2 to your computer and use it in GitHub Desktop.
Node installation instructions

installing Node.js

Whatever operating system you use, you'll need to install Node.js. We recommend doing this using nvm - the node version manager. Your machine should come with at least one of curl or wget. You can use either to install nvm:

curl version:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash

wget version:

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash

Follow the instructions that appear in the terminal - it will ask you to close once it's done.

After you've closed and re-opened your terminal, you'll need to tell nvm to install the latest version of Node, and set it as default:

nvm install 5.11
nvm use 5.11
nvm alias default 5.11

Now you have node and npm installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment