Install
via Positronick CLI
$positronick harness install opencode --run
Official
$npm i -g opencode-ai@latest
OpenCode is an open-source coding agent that runs in your terminal. It is provider-agnostic — bring your own model across 75+ providers (Anthropic, OpenAI, Google, local, and more) rather than being locked to one vendor — and it is fully self-hostable. Install it via the standalone binary, npm (opencode-ai), Homebrew, Scoop, or Chocolatey, then drive it from the CLI/TUI. MIT-licensed and maintained by Anomaly.