+---
+
[](https://opencode.ai)
+## Features
+
+- **100% Open Source** - Fully transparent, community-driven development
+- **Provider Agnostic** - Works with Claude, OpenAI, Google, Azure, local models, and more
+- **Built-in LSP Support** - Language Server Protocol integration out of the box
+- **Terminal-First Design** - Crafted by Neovim enthusiasts for power users
+- **Client/Server Architecture** - Run locally, control remotely from any device
+- **Multiple Agents** - Switch between build and plan modes for different workflows
+
---
-### Installation
+## Quick Start
```bash
-# YOLO
+# One-line install
curl -fsSL https://opencode.ai/install | bash
-# Package managers
-npm i -g opencode-ai@latest # or bun/pnpm/yarn
-scoop bucket add extras; scoop install extras/opencode # Windows
-choco install opencode # Windows
-brew install opencode # macOS and Linux
-paru -S opencode-bin # Arch Linux
-mise use --pin -g ubi:sst/opencode # Any OS
-nix run nixpkgs#opencode # or github:sst/opencode for latest dev branch
+# Then run
+opencode
```
+## Installation
+
+Choose your preferred installation method:
+
+### Package Managers
+
+| Platform | Command |
+|----------|---------|
+| **npm/bun/pnpm/yarn** | `npm i -g opencode-ai@latest` |
+| **Homebrew** (macOS/Linux) | `brew install opencode` |
+| **Scoop** (Windows) | `scoop bucket add extras && scoop install extras/opencode` |
+| **Chocolatey** (Windows) | `choco install opencode` |
+| **Arch Linux** | `paru -S opencode-bin` |
+| **mise** | `mise use --pin -g ubi:sst/opencode` |
+| **Nix** | `nix run nixpkgs#opencode` |
+
> [!TIP]
> Remove versions older than 0.1.x before installing.
-#### Installation Directory
+### Custom Installation Directory
-The install script respects the following priority order for the installation path:
+The install script respects these paths in order of priority:
-1. `$OPENCODE_INSTALL_DIR` - Custom installation directory
-2. `$XDG_BIN_DIR` - XDG Base Directory Specification compliant path
-3. `$HOME/bin` - Standard user binary directory (if exists or can be created)
+1. `$OPENCODE_INSTALL_DIR` - Custom directory
+2. `$XDG_BIN_DIR` - XDG compliant path
+3. `$HOME/bin` - User binary directory
4. `$HOME/.opencode/bin` - Default fallback
```bash
-# Examples
+# Custom install examples
OPENCODE_INSTALL_DIR=/usr/local/bin curl -fsSL https://opencode.ai/install | bash
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bash
```
-### Agents
+---
+
+## Agents
+
+OpenCode provides multiple agents optimized for different workflows. Switch between them using the `Tab` key.
-OpenCode includes two built-in agents you can switch between,
-you can switch between these using the `Tab` key.
+| Agent | Description | Best For |
+|-------|-------------|----------|
+| **build** | Full access agent (default) | Active development, writing code, running commands |
+| **plan** | Read-only analysis agent | Exploring codebases, planning changes, code review |
+| **general** | Complex task subagent | Multi-step searches, invoked via `@general` |
-- **build** - Default, full access agent for development work
-- **plan** - Read-only agent for analysis and code exploration
- - Denies file edits by default
- - Asks permission before running bash commands
- - Ideal for exploring unfamiliar codebases or planning changes
+The **plan** agent is particularly useful when:
+- Exploring unfamiliar codebases safely
+- Planning architectural changes before implementation
+- Reviewing code without accidental modifications
-Also, included is a **general** subagent for complex searches and multi-step tasks.
-This is used internally and can be invoked using `@general` in messages.
+Learn more about [agents in our documentation](https://opencode.ai/docs/agents).
-Learn more about [agents](https://opencode.ai/docs/agents).
+---
+
+## Configuration
-### Documentation
+OpenCode can be configured via:
+- `opencode.json` in your project root
+- `~/.config/opencode/config.json` for global settings
-For more info on how to configure OpenCode [**head over to our docs**](https://opencode.ai/docs).
+For detailed configuration options, see our [documentation](https://opencode.ai/docs).
+
+---
-### Contributing
+## Contributing
-If you're interested in contributing to OpenCode, please read our [contributing docs](./CONTRIBUTING.md) before submitting a pull request.
+We welcome contributions! Please read our [contributing guide](./CONTRIBUTING.md) before submitting a pull request.
### Building on OpenCode
-If you are working on a project that's related to OpenCode and is using "opencode" as a part of its name; for example, "opencode-dashboard" or "opencode-mobile", please add a note to your README to clarify that it is not built by the OpenCode team and is not affiliated with us in anyway.
+If you're creating a project related to OpenCode (e.g., "opencode-dashboard", "opencode-mobile"), please clarify in your README that it's a community project and not officially affiliated with the OpenCode team.
+
+---
+
+## FAQ
+
+
+What makes OpenCode different from other AI coding tools?
-### FAQ
+OpenCode stands out through:
-#### How is this different than Claude Code?
+- **Complete transparency** - 100% open source codebase
+- **Provider flexibility** - Use any LLM provider or local models via [OpenCode Zen](https://opencode.ai/zen)
+- **Native LSP integration** - Language-aware assistance out of the box
+- **Terminal-first philosophy** - Built by terminal power users for terminal power users
+- **Extensible architecture** - Client/server design enables remote control and custom integrations
-It's very similar to Claude Code in terms of capability. Here are the key differences:
+
-- 100% open source
-- Not coupled to any provider. Although we recommend the models we provide through [OpenCode Zen](https://opencode.ai/zen); OpenCode can be used with Claude, OpenAI, Google or even local models. As models evolve the gaps between them will close and pricing will drop so being provider-agnostic is important.
-- Out of the box LSP support
-- A focus on TUI. OpenCode is built by neovim users and the creators of [terminal.shop](https://terminal.shop); we are going to push the limits of what's possible in the terminal.
-- A client/server architecture. This for example can allow OpenCode to run on your computer, while you can drive it remotely from a mobile app. Meaning that the TUI frontend is just one of the possible clients.
+
+Which AI providers are supported?
-#### What's the other repo?
+OpenCode supports a wide range of providers:
+- Anthropic Claude
+- OpenAI
+- Google (Gemini, Vertex AI)
+- Azure OpenAI
+- Amazon Bedrock
+- OpenRouter
+- Local models (via OpenAI-compatible APIs)
-The other confusingly named repo has no relation to this one. You can [read the story behind it here](https://x.com/thdxr/status/1933561254481666466).
+
+
+
+What's the story behind the name?
+
+There's another repository with a similar name - you can [read about it here](https://x.com/thdxr/status/1933561254481666466).
+
+
---
-**Join our community** [Discord](https://discord.gg/opencode) | [X.com](https://x.com/opencode)
+## Community
+
+Join our growing community of developers:
+
+