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 Management
Show Current Configuration
List Config Values
Quick summary of host, environment, user, and organization:Get / Set Individual Values
Print Config File Path
Import from Legacy CLI
If you previously used the Pythondc CLI, import your configuration:
Configuration File
The CLI stores configuration in~/.config/dcycle/v2/config.yaml:
Configuration Priority
- Command-line flags (highest priority)
- Environment variables (
DCYCLE_API_KEY,DCYCLE_HOST) - Configuration file (
~/.config/dcycle/v2/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:
Token Expired
Re-authenticate:SSL Certificate Errors
For staging/development environments:Next Steps
Organizations
Learn how to manage organization context
Examples
See common workflow examples

