Getting Started¶
This guide walks you through authentication, your first commands, and useful configuration options.
Info
For installation instructions, see the Verda CLI overview.
Configure authentication¶
Run the interactive login wizard to save your credentials:
The wizard prompts you for your Client ID and Client Secret, then saves them to ~/.verda/credentials.
To verify your credentials are configured correctly:
Credential resolution¶
The CLI resolves credentials in this order:
- CLI flags —
--auth.client-idand--auth.client-secret - Config file —
~/.verda/config.yaml - Environment variables —
VERDA_CLIENT_IDandVERDA_CLIENT_SECRET - Credentials file —
~/.verda/credentials
For CI/CD pipelines, environment variables are recommended:
Multiple profiles¶
You can store credentials for multiple accounts using profiles. Switch between them with:
Run your first command¶
Check what instance types are available:
Or see available locations:
To get an overview of your account including running instances, volumes, and costs:
Diagnose issues¶
If something isn't working, run the built-in diagnostic tool:
This checks your credentials, API reachability, authentication, CLI version, and directory permissions.
Shell completion¶
Generate shell completions for your shell:
Global flags¶
These flags are available on all commands:
| Flag | Description |
|---|---|
-o, --output |
Output format: table, json, or yaml (default: table) |
--agent |
Agent mode: JSON output, no prompts, structured errors |
--debug |
Enable debug output with API request/response details |
--timeout |
HTTP request timeout (default: 30s) |
--config |
Path to config file (default: ~/.verda/config.yaml) |
Next steps¶
You're now ready to start managing Verda resources from the command line.
Next, explore:
- Instances — provision and manage GPU and CPU instances
- Storage — create and manage block volumes
- Resources — manage SSH keys, startup scripts, and templates
- Cost & Status — estimate costs and monitor your account