I installed Nodejs according to the Nodejs official online instructions.
My operation system is Centos 6.5 64bit. Memory is 1.95GB. And disk space is 15 GB.
Installing result is as below:
#node -v v6.10.0 #npm -v 3.10.10
Instructions:
- Run as root on CentOS, for Node.js v6 LTS:
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
- Then install, as root:
yum -y install nodejs
- Check
node -v npm -v
Reference:
- https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora