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