opencode-cli
Installation
SKILL.md
opencode CLI docs (v2)
Overview
opencode v2 changed the CLI, and what you remember is probably v1: v2 runs one
shared background server per account (--standalone for a private one,
--server <url> to pick one), sessions live under opencode session ..., and
CLI/TUI settings are in cli.json (not opencode.json). Do not give opencode
commands or flags from memory. Look them up first:
opencode <command> --helpon the installed version, when you can run it.ERRATA.mdbeside this file: known mistakes in the docs below.references/: the v2 CLI docs cached as Markdown.
When they disagree, the higher source wins.