Authentication
The Roboticks CLI supports two authentication methods:- Browser login - For interactive local development
- API keys - For CI/CD pipelines and automation
Browser Login (Interactive)
For local development, use browser-based authentication:API Key Authentication (CI/CD)
For automated environments, use API keys:Generate an API Key
- Go to Settings > API Keys in the Roboticks web app
- Click Create API Key
- Give it a descriptive name (e.g., “GitHub Actions CI”)
- Copy the key (it won’t be shown again)
Use the API Key
- Environment Variable
- Command Flag
Setting Context
Before running commands, set your organization and project context:Context via Environment Variables
For CI/CD, set context via environment variables:Configuration Files
User Configuration
The CLI stores user configuration at~/.config/roboticks/config.yaml:
Project Configuration
You can also create a.roboticks.yaml in your project root:
Environment Variables Reference
| Variable | Description | Default |
|---|---|---|
ROBOTICKS_API_KEY | API key for authentication | - |
ROBOTICKS_ORG | Default organization slug | - |
ROBOTICKS_PROJECT | Default project slug | - |
ROBOTICKS_API_URL | API base URL | https://api.roboticks.io |
ROBOTICKS_OUTPUT | Output format (table/json/yaml) | table |
ROBOTICKS_NO_INTERACTIVE | Disable interactive prompts | false |
ROBOTICKS_DEBUG | Enable debug output | false |
NO_COLOR | Disable colored output | - |
Logout
Troubleshooting
Browser doesn't open
Browser doesn't open
The CLI will display a URL you can copy and paste:
API key not working
API key not working
- Verify the key hasn’t expired
- Check the key has the required permissions
- Ensure the organization/project context matches the key’s access
Context not persisting
Context not persisting
Check that the config directory is writable:
Next Steps
Commands Reference
Explore all available CLI commands