install node.js in cent oss 7 code example
Example: yum install node
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
sudo yum install nodejs
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
sudo yum install nodejs