Source : http://howtonode.org/how-to-install-nodejs
Before Proceeding Install All These Dependencies:
sudo apt-get install g++ curl libssl-dev apache2-utils
sudo apt-get install git-core
Then Enter The Following Commands :
git clone git://github.com/ry/node.git
cd node
./configure
make
sudo make install