how to install and configure pm2 in linux code example Example: installing pm2 on linux $ sudo npm i -g pm2