CentOS NodeJs Installation

If you are installing on a new server, let's first install the necessary packages.

yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -

Run the following command to install Node.js and package manager NPM;

yum install nodejs

To check after installing; 

node -v
npm -v

There are no comments, make the firs comment