Skip to content

Instantly share code, notes, and snippets.

@WebReflection
Created February 19, 2013 05:28
Show Gist options
  • Select an option

  • Save WebReflection/4983340 to your computer and use it in GitHub Desktop.

Select an option

Save WebReflection/4983340 to your computer and use it in GitHub Desktop.
How to install node.js in Ubuntu 12.10 via terminal
# Ubuntu 12.10 via VirtualBox Image
# go in the user dir
cd ~/
# install git CL tool and g++
sudo apt-get install git
sudo apt-get install g++
# clone node.js git repo
git clone git://github.com/joyent/node.git
# go there and make it
cd node
./configure
make
sudo make install
# try to type
node
# if it's not in the /usr/sbin/node
ln -s /usr/local/bin/node /usr/sbin/node
# try to type again
node
# enjoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment