Skip to content

CLI

Avo ships a avo console script. Running avo with no subcommand starts the chat REPL; avo --help is the canonical command map.

Installation and setup

Install the CLI for the current user with the OS-native installer:

# Linux, macOS, or Git Bash
curl -fsSL https://avo.faqihhakim.tech/install.sh | bash

# Native Windows PowerShell
irm https://avo.faqihhakim.tech/install.ps1 | iex

The installer is user-global and does not need root or Administrator access. Run install.sh --dry-run or install.ps1 -DryRun to inspect its actions. Afterward, run avo setup in the workspace that should receive its provider and permission configuration.

Command Purpose
avo --version Print package version
avo doctor Show resolved provider, model, endpoint, env, extras
avo / avo chat New interactive REPL session with background tasks
avo resume [SESSION] Resume the latest or a specific chat session
avo login PROVIDER Official vendor browser login or API-key storage
avo combo auth NAME Login to missing cloud vendors used by a combo
avo models ollama list List installed Ollama Local models
avo models ollama recommend Recommend models for local hardware
avo models ollama pull MODEL Confirm and download a local model
avo models ollama cloud Show remote Ollama Cloud guidance
avo saver list List built-in token-saver presets.
avo saver show NAME Inspect a preset's style guide and compression pipeline.
avo saver use NAME / avo saver off Enable or disable the persisted saver choice.
avo runs list List runs persisted in the local SQLite event log
avo runs inspect Show full event trace for a run
avo runs resume Resume a run from its last durable state
avo runs diff Compare two persisted runs (events + tokens + steps)
avo bench Run a deterministic cross-provider benchmark
avo cost Aggregate the persistent TokenLedger (table or JSON)
avo sandbox run Run a one-off shell command in an ephemeral container
avo plugin init Scaffold a working plugin directory
avo mcp add/list/... Manage Model Context Protocol servers
avo init Scaffold .avo/skills/repo-overview/SKILL.md + AGENTS.md

Run avo <subcommand> --help for full flag details. Every command exits non-zero on failure so the CLI composes cleanly in CI and Make targets.

Inside the REPL, /resume opens an interactive session picker. Use the arrow keys and Enter to choose a session, type to filter the list, or press Esc/q to cancel. The selected session transcript is shown before the next message is sent.