CLI cookbook
High-frequency Atlas CLI commands for develop, deploy, and recover.
Everyday Atlas CLI commands for local development, deploys, and recovery. Bookmark this page for on-call nights.
Local loop
bashdev.sh
php atlas serve
php atlas queue:work
php atlas dusk:chrome-driver
php atlas test --parallelProduction maintenance
bashExample
php atlas down --secret=harbor
php atlas migrate --force
php atlas config:cache
php atlas route:cache
php atlas upGenerators
| Command | Creates |
|---|---|
| make:controller | HTTP controller |
| make:job | Queued job class |
| make:middleware | Middleware stub |
| make:test --pest | Pest feature test |
Warning
Always pass --no-interaction in CI. Interactive prompts hang pipelines.
If a command is not listed here, runphp atlas listand check the help output before improvising.
Updated Aug 5, 2026
