Created
May 11, 2015 16:57
-
-
Save alvincrespo/35b50a475f041b24f20b to your computer and use it in GitHub Desktop.
Setting up Node in Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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