Early Access - The Dcycle CLI is currently available for enterprise customers.
Contact us to learn more about access.
Logging In
The CLI uses the same credentials as the Dcycle web application.Interactive Login
Non-Interactive Login
For automation and scripting:Checking Session Status
View your current authentication state:Logging Out
Configuring Environments
The CLI can connect to different Dcycle environments.List Available Hosts
Switch Environment
Development and staging environments automatically disable SSL verification for self-signed certificates.
Configuration File
The CLI stores configuration in~/.dcycle/config.yaml:
Configuration Priority
- Command-line flags (highest priority)
- Environment variables (
DCYCLE_API_KEY,DCYCLE_HOST) - Configuration file (
~/.dcycle/config.yaml) - Defaults (lowest priority)
Environment Variables
For CI/CD and automation:| Variable | Description |
|---|---|
DCYCLE_API_KEY | API key for authentication (alternative to login) |
DCYCLE_HOST | Override the API host URL |
DCYCLE_ORG_ID | Override the active organization |
Troubleshooting
Permission Errors (403/404)
-
Verify your session is valid:
-
Check you’re in the correct organization:

