You should have googled it -
yum install gcc-c++ make openssl-devel
Install from Source code :
wget http://nodejs.org/dist/v0.8.15/node-v0.8.15.tar.gz
tar zxvf node-v0.8.15.tar.gz
cd node-v0.8.15
./configure
make
make install
Install from GIT repository
yum install git
git clone git://github.com/joyent/node.git
cd node
./configure
make
make install