Download OpenCode
Beta version for macOS, Windows, and Linux
[1]
OpenCode Terminal
curl -fsSL https://opencode.ai/install | bash
npm i -g opencode-ai
bun add -g opencode-ai
brew install anomalyco/tap/opencode
paru -S opencode
Frequently Asked Questions
OpenCode is an open source AI coding agent that provides terminal interface, desktop app, and IDE extensions to help developers write code more efficiently.
You can install OpenCode via curl, npm, bun, or brew, then run the opencode command in your terminal to get started.
No, OpenCode has built-in free models. You can also use existing AI subscriptions like GitHub Copilot, ChatGPT Plus/Pro, etc.
No, OpenCode provides multiple ways to use it: terminal interface (TUI), desktop app (Beta), and IDE extensions for VS Code, Cursor, etc.
OpenCode is completely free and open source. You only need to pay for the AI models you use (if using paid models).
OpenCode uses a privacy-first design, not storing any of your code or context data, ensuring it can run in privacy-sensitive environments.
Yes, OpenCode is completely open source. You can view the source code and contribute on GitHub.