Configuration
Configure crewkit with environment variables, config files, and CI/CD settings.
crewkit is configured through environment variables and local config files. Most settings have sensible defaults — you only need to change things for CI/CD or multi-environment setups.
Environment variables
| Variable | Description | Default |
|---|---|---|
CREWKIT_API_URL | API base URL | https://api.crewkit.io |
CREWKIT_ORG | Organization slug (skips auto-detection) | — |
CREWKIT_REPOSITORY_ID | Repository ID (skips detection) | — |
CREWKIT_ENV | Environment name (used for error reporting) | production |
NO_COLOR | Disable colored output | — |
Local config file
When you run crewkit init or crewkit code for the first time in a repo, crewkit creates a .crewkit/config.toml file (gitignored):
version = 1
[repository]
id = "repo_abc123"
remote_url = "git@github.com:acme/frontend"
linked_at = "2026-01-20T10:30:00Z"
[component