⌘K
CLI Installation
Install and configure the AskVerdict CLI tool for running debates from your terminal.
1 min read
Share
The AskVerdict CLI lets you run debates, stream results, and manage your account from the terminal.
Install
bash
npm install -g @askverdict/cliVerify the installation:
bash
askverdict --versionAuthentication
Set your API key:
bash
askverdict config set api-key vrd_your_api_keyOr use an environment variable:
bash
export ASKVERDICT_API_KEY=vrd_your_api_keyVerify Setup
bash
askverdict whoamiThis shows your user profile if authentication is working.
Configuration File
The CLI stores configuration at ~/.askverdict/config.json:
json
{
"apiKey": "vrd_your_api_key",
"apiUrl": "https://api.askverdict.ai",
"defaultMode": "balanced",
"outputFormat": "text"
}Configuration Options
| Key | Default | Description |
|---|---|---|
apiKey | — | Your API key |
apiUrl | https://api.askverdict.ai | API base URL |
defaultMode | balanced | Default debate mode |
outputFormat | text | Output format: text or json |
Next Steps
- Commands Reference — All available commands
- Scripting Guide — JSON output and CI/CD integration
Was this page helpful?