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