Requirements
- Node.js 18 or later
- An active LexQ account with an API key
Installation
lexq --version
Authentication
Step 1: Get Your API Key
- Log in to the LexQ Console
- Navigate to Management → API Keys
- Click Generate New Key
- Copy the key (format:
sk_live_xxxxxxxxxxxxx)
Step 2: Log In
~/.lexq/config.json.
Step 3: Verify
Configuration
Config is stored at~/.lexq/config.json:
Global Options
Every command accepts these flags:| Flag | Description |
|---|---|
--format <json|table> | Output format (default: json) |
--api-key <key> | Override stored API key |
--base-url <url> | Override API base URL |
--dry-run | Preview the HTTP request without executing |
--verbose | Show full request/response details |
--no-color | Disable colored output |
Next Steps
Command Reference
Browse all 61 available commands.
MCP Server
Set up AI agent integration via MCP.

