pm2 with yarn start code example Example 1: pm2 install $ pm2 ecosystem Example 2: pm2 install $ pm2 logs --lines 200