npm
is the node.js package manager, so let us start installing that:
sudo yum install npm
Then, let us update npm itself (the yum packages for SLC6 are often quite old):
sudo npm install npm -g
and let us test:
$ node -v
v0.10.42
DONE! We have Node.js installed! :)
Written on April 29th, 2016 by Riccardo Maria Bianchi