Skip to content

Instantly share code, notes, and snippets.

@alvincrespo
Created May 11, 2015 16:57
Show Gist options
  • Save alvincrespo/35b50a475f041b24f20b to your computer and use it in GitHub Desktop.
Save alvincrespo/35b50a475f041b24f20b to your computer and use it in GitHub Desktop.
Setting up Node in Ubuntu
# Reference: http://blog.izs.me/post/87525128203/how-to-install-node-js-and-npm-on-ubuntu-14-04
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
# This step is optional. At the moment Chris Lea’s PPA will give you npm 1.4.9,
# which is recent enough to have no showstopper # problems (the version that comes
# with apt, 1.3.10, is not terrible but has some known bugs).
sudo npm install npm -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment