# OpenCode > OpenCode is an open-source AI coding agent that runs in the terminal and web, enabling developers to use free or external models with a privacy-first, no-account workflow. OpenCode is an open-source AI coding agent used by hundreds of thousands of developers to run AI coding workflows in the terminal and web. It emphasizes privacy by not storing code or context data, and it supports free built-in models or connections to external providers (including Claude, GPT, Gemini). OpenCode is installable via common package managers and can be used without an account, email, or credit card. ### Installation (CLI) Use any of the following terminal commands to install OpenCode: ```bash # Quick install (recommended) curl -fsSL https://opencode.ai/install | bash # Using Node.js package manager npm install -g opencode-ai bun install -g opencode-ai pnpm install -g opencode-ai yarn global add opencode-ai # Using Homebrew (macOS & Linux) brew install opencode # On Arch Linux (paru) paru -S opencode-bin # Windows choco install opencode scoop bucket add extras scoop install extras/opencode ``` Once installed, run `opencode` in your terminal to start the agent. ### Overview - **Open-source agent** — Maintained on GitHub and open for inspection and contribution. - **Privacy-first operation** — No code or context data is stored. - **Model-agnostic support** — Use bundled free models or connect to Claude, GPT, Gemini, and others. - **Multiple access options** — Terminal-first, with web and desktop support available. - **No account required** — Optional paid services are additive, not required. For developers who want curated, production-ready models with transparent usage-based pricing, OpenCode also offers **Zen**, an optional paid model layer. ## Features - Open-source AI coding agent - Privacy-first: does not store code or context data - Supports bundled free models and external model providers (Claude, GPT, Gemini) - Available in terminal and web (desktop coming soon) - Installable via curl, npm, bun, brew, paru - No account, no email, and no credit card required - Optional curated Zen models with usage-based pricing ## Integrations Claude, OpenAI (GPT), Google Gemini ## Platforms WINDOWS, MACOS, LINUX, WEB ## Pricing Open Source ## Version v1.0.146 ## Links - Website: https://opencode.ai/ - Documentation: https://opencode.ai/docs - Repository: https://github.com/sst/opencode - EveryDev.ai: https://www.everydev.ai/tools/opencode