running node scripts with pm2 code example Example: pm2 node start # only start will make it pm2 start app.js