Skip to content

Instantly share code, notes, and snippets.

@armstrongnate
Last active December 16, 2015 08:59
Show Gist options
  • Save armstrongnate/5409799 to your computer and use it in GitHub Desktop.
Save armstrongnate/5409799 to your computer and use it in GitHub Desktop.
How to install node on Ubuntu
>> git clone https://github.com/joyent/node.git
>> cd node/
>> ./configure
>> make
>> sudo make install
Install NPM
>> curl http://npmjs.org/install.sh | sudo sh
Install n
>> npm install n
Install/Update node using n
>> sudo n stable
# Switch between node versions on mac
http://andrestorres.me/Programming/2012/04/27/switching-between-node-versions-with-brew/
Can't `brew link node`?
>> brew cleanup
>> brew link node
>> brew uninstall node
>> brew install node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment