CLI reference
The commands you will use day to day, with examples.
This page covers the commands that carry the common workflows. For the complete surface see All commands; for flags on any command, guidal <group> <command> --help is always authoritative for the version you have installed.
Authentication
guidal login # sign in through the browser
guidal logout # sign out
guidal whoami # show the signed-in user
guidal auth status # show session state
guidal version # show the CLI versionOrganizations and projects
guidal orgs list
guidal orgs switch my-org
guidal projects list
guidal projects create my-app
guidal projects switch my-appswitch stores your working context so later commands do not need --org and --project. Both flags still work and override the stored value.
Services
guidal services list
guidal services get api
guidal services create api --image ghcr.io/org/app:v1 --port 8080
guidal services deploy api --image ghcr.io/org/app:v2
guidal services scale api --replicas 3
guidal services delete apiCreate a background worker with --type worker and no port.
Deployments
guidal deployments list --service api
guidal deployments rollback --service api
guidal deployments diagnostics --service apidiagnostics is the first thing to run when a deploy fails and the reason is not obvious from logs.
Configuration
guidal env list --service api
guidal env set LOG_LEVEL=info --service api
guidal env delete LOG_LEVEL --service api
guidal env import .env.production --service api
guidal secrets list --service api
guidal secrets set STRIPE_API_KEY --service api
guidal secrets delete STRIPE_API_KEY --service apiSecret values are never printed back. Both take effect on the next deploy.
Databases and Redis
Both engines use the db group.
guidal db list
guidal db create demo-db --engine postgres
guidal db create cache --engine redis
guidal db get demo-db
guidal db link demo-db --service api
guidal db unlink demo-db --service api
guidal db proxy demo-db
guidal db credentials demo-db
guidal db delete demo-dbBackups and recovery:
guidal db backups demo-db
guidal db backup demo-db
guidal db restore demo-db
guidal db metrics demo-dbObject storage
guidal storage list
guidal storage create uploads
guidal storage ls uploads
guidal storage cp ./file.pdf uploads/file.pdf
guidal storage rm uploads/file.pdf
guidal storage presign uploads/file.pdf --expires 3600
guidal storage link uploads --service api
guidal storage delete uploadsDomains
guidal domains list
guidal domains add app.example.com --service api
guidal domains verify app.example.com
guidal domains ssl app.example.com
guidal domains remove app.example.comCron jobs
guidal cron list
guidal cron create nightly --image ghcr.io/org/app:v1 --schedule "0 2 * * *"
guidal cron trigger nightly
guidal cron suspend nightly
guidal cron resume nightly
guidal cron history nightly
guidal cron delete nightlyObservability
guidal logs query --service api
guidal logs deployment --service api
guidal metrics service api
guidal metrics tenantRegistry
guidal registry credentials
guidal registry repos
guidal registry artifacts my-appMembers and access
guidal members list
guidal members invite someone@example.com --role developer
guidal members invites
guidal members role someone@example.com --role admin
guidal members remove someone@example.com
guidal api-keys list
guidal api-keys create ci-deploy
guidal api-keys delete ci-deployNetworking and billing
guidal network topology
guidal network endpoints
guidal billing status
guidal billing plan
guidal billing usage
guidal billing historyBilling commands are read-only. Changing a subscription is done in the dashboard.
MCP
guidal mcp setup
guidal mcp status
guidal mcp serve
guidal mcp remove