What is the Coolify CLI?
The Coolify CLI lets you inspect and manage Coolify resources from a terminal. It calls the Coolify REST API and works with both Coolify Cloud and self-hosted Coolify.
Use the CLI for repeatable deployments, scripts, CI jobs, resource inventory, and operational tasks that do not require the dashboard.
Before you begin
You need:
- an API token with the permissions required by your commands
- API access, which is enabled by default on Coolify Cloud and must be enabled by an administrator on self-hosted Coolify
Get started
- Install the CLI.
- Authenticate the CLI and create a context for Coolify Cloud or your self-hosted instance.
- Verify the saved URL and token with
coolify context verify. - Run an inventory command:
coolify resource listThe command uses your default context and displays a table of applications, services, and databases that the token can access.
How the CLI connects to Coolify
Read How the CLI works to understand how the CLI selects a context, authenticates API requests, handles failures, and formats responses.
Find commands and options
Run coolify --help to list command groups. Add --help after any group or command to see its current arguments and flags:
coolify app --help
coolify app create --help
coolify database backup --helpThe built-in help is the authoritative reference for the installed CLI version. Open Commands in the sidebar for operation-level syntax and options. Follow Deploy applications, Automate with the CLI, or Manage database backups for complete workflows.
Use Update the Coolify CLI when a new release is available. Follow Uninstall the Coolify CLI to remove the local command without affecting resources managed through Coolify.
Use the CLI with AI agents
The CLI repository publishes generated catalogs for tools that need machine-readable command context:
llms.txtcontains concise instructions and common commands.llms-full.txtcontains the generated command and flag catalog.
CLI contributors can regenerate both files from the repository with:
go run ./coolify docs llmsThe Coolify CLI source repository also contains build, test, contribution, and release instructions for CLI development.
