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 --parallel

Production maintenance

bashExample
php atlas down --secret=harbor
php atlas migrate --force
php atlas config:cache
php atlas route:cache
php atlas up

Generators

CommandCreates
make:controllerHTTP controller
make:jobQueued job class
make:middlewareMiddleware stub
make:test --pestPest feature test
Warning
Always pass --no-interaction in CI. Interactive prompts hang pipelines.
If a command is not listed here, run php atlas list and check the help output before improvising.

Updated Aug 5, 2026