Install NPM on SMM

Before you add and configure SMM, you must do a node package manager (NPM) installation, and install the forever module.

On the host where you plan to install the SMM Server, install NPM and the forever module.
For CentOS 7

yum install -y gcc-c++ make 
curl -sL | sudo -E bash - 
sudo yum install nodejs -y
node -v    #nodejs version greater than 10  
npm -v 
npm install forever -g 
On SLES 12

sudo -i zypper addrepo node10 
sudo -i zypper refresh 
sudo -i zypper nodejs10 
node -v 
sudo -i npm install forever -g
On Ubuntu 14, 16, and 18
curl -sL | sudo -E bash
sudo apt-get install -y nodejs
node -v
sudo npm install forever -g