coolify-cli
llms.txt486 starsChanged 2 months agoMITView on GitHub
Quick AI/LLM instructions for the Coolify CLI. Source: https://github.com/coollabsio/coolify-cli API Spec: https://github.com/coollabsio/coolify/blob/v4.x/openapi.json Config file location: - Linux/macOS: ~/.config/coolify/config.json - Windows: %APPDATA%\coolify\config.json Supports multiple contexts (instances) with coolify context commands. All commands support --format flag: - table (default) - human-readable tabular output - json - compact JSON for scripting - pretty - indented JSON for debugging
- Pipes a download into a shell
- Reads credentials
- Installs packages
We split this llms.txt into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Prefer --format json for automation and parsing.
- Distinctive: line 10
Use Coolify UUIDs for resources.
- Very specific: line 13
Use llms-full.txt for the exhaustive command/flag catalog.
- Very specific: line 48
All commands support --format flag:
≈ “Common” is an estimate: at least 1 in 5 of the 3,225 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# Coolify CLI - llms.txt > Quick AI/LLM instructions for the Coolify CLI. > Source: https://github.com/coollabsio/coolify-cli > API Spec: https://github.com/coollabsio/coolify/blob/v4.x/openapi.json ## Operating Rules - Prefer `--format json` for automation and parsing. - Use Coolify UUIDs for resources; do not use internal numeric IDs. - Team commands are the exception: they use numeric team IDs. - Authenticate with a saved context when possible; use `--token` only for overrides. - Use `llms-full.txt` for the exhaustive command/flag catalog. ## Installation ```bash # Linux/macOS (recommended) curl -fsSL https://raw.githubusercontent.com/coollabsio/coolify-cli/main/scripts/install.sh | bash # Homebrew (macOS/Linux) brew install coollabsio/coolify-cli/coolify-cli # Windows (PowerShell) irm https://raw.githubusercontent.com/coollabsio/coolify-cli/main/scripts/install.ps1 | iex # Go install go install github.com/coollabsio/coolify-cli/coolify@latest ``` ## Authentication 1. Get an API token from your Coolify dashboard at `/security/api-tokens` 2. For Coolify Cloud: `coolify context set-token cloud <token>` 3. For self-hosted: `coolify context add -d <context_name> <url> <token>` 4. Switch contexts with `coolify context use <context_name>` ## Configuration Config file location: - Linux/macOS: `~/.config/coolify/config.json` - Windows: `%APPDATA%\coolify\config.json` Supports multiple contexts (instances) with `coolify context` commands. ## Output Formats All commands support `--format` flag: - `table` (default) - human-readable tabular output - `json` - compact JSON for scripting - `pretty` - indented JSON for debugging ## Global Flags - `--context <name>` - use a specific saved context - `--token <token>` - override token from config - `--format table|json|pretty` - choose output format - `--show-sensitive` - reveal sensitive values - `--debug` - enable debug output ## Common Workflows ### Contexts ```bash coolify context list coolify context verify coolify context version coolify context use prod ``` ### Inventory ```bash coolify server list coolify project list coolify resource list coolify app list coolify service list coolify database list ``` ### Applications ```bash coolify app get <uuid> coolify app start <uuid> coolify app stop <uuid> coolify app restart <uuid> coolify app logs <uuid> --show-timestamps coolify app logs <uuid> --service web --follow coolify app move <uuid> --environment-uuid <uuid> coolify app tag add <uuid> production coolify app deployments list <app-uuid> coolify app deployments logs <app-uuid> --follow coolify app update <uuid> --compose-domain api=https://api.example.com --compose-domain admin=https://admin.example.com,https://admin2.example.com ``` ### Environment Variables ```bash coolify app env list <app-uuid> coolify app env create <app-uuid> --key API_KEY --value secret123 coolify app env update <app-uuid> <env-uuid-or-key> --value new-secret coolify app env sync <app-uuid> --file .env.production --build-time --preview ``` ### Deployments ```bash coolify deploy list coolify deploy name my-application coolify deploy batch api,worker,frontend --force coolify deploy cancel <deployment-uuid> ``` ### Databases and Services ```bash coolify database get <uuid> coolify database create postgresql --server-uuid <uuid> --project-uuid <uuid> --environment-name production coolify database logs <uuid> --show-timestamps coolify database move <uuid> --environment-uuid <uuid> coolify database backup list <database-uuid> coolify service get <uuid> coolify service create <type> --project-uuid <uuid> --server-uuid <uuid> --instant-deploy coolify service logs <uuid> --sub-service-name <name> --show-timestamps coolify service application list <service-uuid> coolify service application restart <service-uuid> <application-uuid> coolify service database list <service-uuid> coolify service database restart <service-uuid> <database-uuid> ``` ### Tags, Destinations, and Cloud Providers ```bash coolify tag list coolify destination list --server <server-uuid> coolify cloud-token create --provider hetzner --name production --provider-token <token> coolify cloud-token validate <uuid> coolify server hetzner locations <cloud-token-uuid> coolify server hetzner create --cloud-token <uuid> --location <location> --server-type <type> --image <id> ``` ## Common Aliases - `coolify app` | `coolify apps` | `coolify application` | `coolify applications` - `coolify service` | `coolify services` | `coolify svc` - `coolify database` | `coolify databases` | `coolify db` | `coolify dbs` - `coolify teams` | `coolify team` ## Full Reference - Full command and parameter catalog: ./llms-full.txt - Regenerate docs: `go run ./coolify docs llms`
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

