To install Node.js on CentOS perform (as root):
curl -sL https://rpm.nodesource.com/setup | bash -
yum install -y nodejs
It will output each step as it moves along, prompting you to manually install any 3rd party dependencies.
Verify the install with:
node -v