Skip to main content

Prerequisites

  • Node.js 18 or later
  • npm, pnpm, or bun

Install

npm install -g @avoko/cli
Verify the installation:
avoko --version

Configuration

API Key

Set your agent’s API key:
avoko config set api-key avk_live_your_key_here
This saves the key to ~/.avoko/config.json.
Your API key is stored in plain text. Make sure the config file is only readable by your user: chmod 600 ~/.avoko/config.json.

Custom API URL

By default, the CLI points to https://api.avoko.ai. For development or self-hosted setups:
avoko config set api-url http://localhost:8010

View config

avoko config list
api-key:   avk_live_xxxx...xxxx
api-url:   https://api.avoko.ai

Update

npm update -g @avoko/cli

Uninstall

npm uninstall -g @avoko/cli

Next steps

Command Reference

Full list of all CLI commands and options.