English
Home

OpenCode Documentation

Community-maintained documentation for OpenCode, the open-source coding agent. Install the tool, connect a model, and configure MCP, permissions, and project rules.

Quick Start

Free Download

OpenCode is completely open source and free. You can install it via:

# 使用 Homebrew(macOS / Linux)
brew install anomalyco/tap/opencode
 
# 使用 npm
npm install -g opencode-ai
 

Costs and data handling

OpenCode is open-source software you can install for free. Model providers may charge per token or require a subscription; free model availability and limits can change. With a cloud model, prompts and relevant code context are sent to the selected provider. Check that provider’s data policy.

Resolve a setup problem

Popular guides:

Documentation

Getting Started

Usage

Advanced


This is a community-maintained documentation site, not official. Project: OpenCode (opens in a new tab) · Source code (opens in a new tab)