Install Node.js on CentOS 6 using yum

⚠️ Warning
This post is more than 10 years old. I do not delete posts, because even old information is still useful, but please know that some material on this page may be outdated or incorrect. Thanks!
Aug 8, 2013

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.