install pm2 global code example Example 1: install pm2 Click to copynpm install pm2 -g Example 2: pm2 install Click to copy$ pm2 start app.js -i max