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/cli

Verify the installation:

bash
askverdict --version

Authentication

Set your API key:

bash
askverdict config set api-key vrd_your_api_key

Or use an environment variable:

bash
export ASKVERDICT_API_KEY=vrd_your_api_key

Verify Setup

bash
askverdict whoami

This 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

KeyDefaultDescription
apiKeyYour API key
apiUrlhttps://api.askverdict.aiAPI base URL
defaultModebalancedDefault debate mode
outputFormattextOutput format: text or json

Next Steps

Was this page helpful?