English
Home

OpenCode Documentation

Welcome to OpenCode documentation! OpenCode is an open-source AI coding assistant that provides intelligent code completion, code generation, and conversational programming experience.

Quick Start

Free Download

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

# Using Homebrew (macOS/Linux)
brew install opencode-ai/tap/opencode
 
# Using npm
npm install -g opencode
 
# Using Go
go install github.com/opencode-ai/opencode@latest

OpenCode vs Claude Code

FeatureOpenCodeClaude Code
Open Source✅ Fully Open Source❌ Closed Source
Price🆓 Free💰 Paid Subscription
Provider Support✅ Multiple Providers (OpenAI, Anthropic, Local Models, etc.)❌ Anthropic Only
Self-hosted✅ Supported❌ Not Supported
Privacy✅ Code stays local (optional)⚠️ Code uploaded to servers
Customization✅ Highly Customizable❌ Limited

Documentation

Getting Started

Usage

Advanced


This is a community-maintained documentation site, not official. For official documentation, visit opencode.ai (opens in a new tab)