OpenCode

An open-source terminal coding agent supporting multiple model providers, with desktop and IDE extensions.

AnomalyDesktop · CLI · IDE

Setup & Installation

Install

Download the OpenCode 2 Windows x64 / ARM64 CLI binary from the guide, extract it, and add it to PATH. V2 does not support Windows package managers. For WSL, use the Linux instructions.

Launch

opencode

Authentication

After launching, enter /connect in the terminal UI, select your provider, and paste your API key.

Config Path(Optional)

%USERPROFILE%\.config\opencode\opencode.json