npm run dev to pm2 code example Example: pm2 to start npm run dev pm2 start "npm run dev" --name myAppName