If you're running CentOS 6.x (I use 6.4 currently), and you have installed the EPEL yum repository , you can install Node.js simply with:
$ sudo yum install npm
Done. Check for node's successful installation by running
$ node -v
(it should return something like
v0.10.4
).
Adapted from my answer on Server Fault .