title: How to start the node.js application using pm2
body: <p>I have installed pm2 module using the following command:
  <br>                                                                                 npm install pm2@latest</p>
  
  <p>Then I tried to start my test application using pm2 as follows:
  <br>$ pm2 start test.js</p>
  
  <p>It throws the following error:
  <br>'pm2' is not recognized as an internal or external command</p>
  
  <p>Do i need to set environment variable for pm2?</p>