running package.json scripts using pm2 code example Example: pm2 start npm start pm2 start npm --name "app name" -- start