If you have CentOS 6.x, and have enabled the EPEL repository, you can use yum to install node/npm:
$ sudo yum install npm
After the installation is complete, check to make sure node is setup properly:
$ node -v
(Should return something like v0.10.36
).
If you want later versions of Node.js (e.g. 4.x, 5.x, etc.), you can use the Nodesource yum repository instead of EPEL.