🌐
opencode
opencode.ai › download
OpenCode | Download
curl -fsSL https://opencode.ai/install | bashnpm i -g opencode-aibun add -g opencode-aibrew install anomalyco/tap/opencodeparu -S opencode
Go
Go starts at $5 for your first month, then $10/month, with generous 5-hour request limits for GLM-5.1, GLM-5, Kimi K2.5, MiMo-V2-Pro, MiMo-V2-Omni, MiniMax M2.5, and MiniMax M2.7.
Zen
Zen gives you access to a curated set of AI models that OpenCode has tested and benchmarked specifically for coding agents.
Docs
OpenCode is an open source AI coding agent. It’s available as a terminal-based interface, desktop app, or IDE extension. Let’s get started. ... API keys for the LLM providers you want to use. The easiest way to install OpenCode is through the install script.
Enterprise
OpenCode operates securely inside your organization with no data or context stored and no licensing restrictions or ownership claims.
🌐
opencode
opencode.ai › docs
Intro | AI coding agent built for the terminal
5 days ago - It’s available as a terminal-based interface, desktop app, or IDE extension. Let’s get started. ... API keys for the LLM providers you want to use. The easiest way to install OpenCode is through the install script.
People also ask

How do I configure OpenCode after installation?
Run 'opencode' in your project directory. On first launch, it will prompt you to set your API key. You can configure the provider (OpenAI, Google, Ollama) in ~/.config/opencode/config.toml or via environment variables.
🌐
nxcode.io
nxcode.io › home › resources › news › how to install opencode: step-by-step setup guide (2026)
How to Install OpenCode: Step-by-Step Setup Guide (2026) | NxCode
Why does OpenCode installation fail?
Common issues: Node.js version too old (need 18+), permission errors (use 'sudo npm install -g opencode' or fix npm permissions), network issues behind corporate firewalls (use --registry flag), or Go not in PATH (for Go install method).
🌐
nxcode.io
nxcode.io › home › resources › news › how to install opencode: step-by-step setup guide (2026)
How to Install OpenCode: Step-by-Step Setup Guide (2026) | NxCode
Is OpenCode free to use?
Yes, OpenCode is 100% free and open source. However, you need your own API keys for AI models (Claude, GPT-4, Gemini). You can also use free local models like Ollama with OpenCode.
🌐
nxcode.io
nxcode.io › home › resources › news › opencode tutorial 2026: complete install, setup & configuration guide
OpenCode Tutorial 2026: Complete Install, Setup & Configuration ...
🌐
opencode
opencode.ai
OpenCode | The open source AI coding agent
curl -fsSL https://opencode.ai/install | bash · Your browser does not support the video tag. OpenCode is an open source agent that helps you write code in your terminal, IDE, or desktop. [*] LSP enabled Automatically loads the right LSPs for the LLM · [*] Multi-session Start multiple agents in parallel on the same project ·
🌐
GitHub
github.com › anomalyco › opencode
GitHub - anomalyco/opencode: The open source coding agent. · GitHub
1 week ago - # YOLO curl -fsSL https://opencode.ai/install | bash # Package managers npm i -g opencode-ai@latest # or bun/pnpm/yarn scoop install opencode # Windows choco install opencode # Windows brew install anomalyco/tap/opencode # macOS and Linux (recommended, always up to date) brew install opencode # macOS and Linux (official brew formula, updated less) sudo pacman -S opencode # Arch Linux (Stable) paru -S opencode-bin # Arch Linux (Latest from AUR) mise use -g opencode # Any OS nix run nixpkgs#opencode # or github:anomalyco/opencode for latest dev branch
Starred by 142K users
Forked by 15.9K users
Languages   TypeScript 51.6% | MDX 34.0% | JavaScript 11.1% | CSS 2.6% | Rust 0.4% | Astro 0.2%
🌐
Overview
docs.z.ai › devpack › tool › opencode
OpenCode - Overview - Z.AI DEVELOPER DOCUMENT
Complete guide to integrating Z.AI GLM models with OpenCode CLI OpenCode is a powerful AI coding agent that can be configured to use Z.AI’s GLM models. The easiest way to install OpenCode is through the install script.
🌐
Milvus
milvus.io › ai-quick-reference › how-do-i-install-opencode-on-my-computer
How do I install OpenCode on my computer?
To install OpenCode on your computer, choose one of the supported installation methods (install script, package manager, or OS-specific installer), then run OpenCode once to connect a model provider and initialize your workflow.
🌐
Reddit
reddit.com › r/opencodecli › the definitive guide to opencode: from first install to production workflows
r/opencodeCLI on Reddit: The definitive guide to OpenCode: from first install to production workflows
February 1, 2026 -

I've been using OpenCode since it launched and figured I'd give one more extra deep dive piece back to the community before I go on a short hiatus with these technical guides.

It's pretty much a culmination of everything I've written thus far.

What it covers:

- Installation and first-run setup (5 minutes to get started)

- Provider options: Synthetic, OpenCode Zen, GitHub Copilot, ChatGPT Plus, OpenRouter

- The Build/Plan mode workflow that's saved me from a lot of bad code

- Commands, skills, and agents (the extensibility trifecta)

- TypeScript plugins for things like auto-linting after every edit

- MCP server configuration

- Production workflows including a multi-agent code review setup

What I learned the hard way:

- The AGENTS.md file is more important than I initially thought

- Different models for different tasks actually matters for cost control

- Plan mode first, Build mode second catches misunderstandings early

Hope it helps someone who's been curious about OpenCode but wasn't sure where to start.

Find elsewhere
🌐
Nxcode
nxcode.io › home › resources › news › opencode tutorial 2026: complete install, setup & configuration guide
OpenCode Tutorial 2026: Complete Install, Setup & Configuration Guide | NxCode
January 28, 2026 - OpenCode is a free, open-source terminal AI coding agent with 120K+ GitHub stars that supports 75+ LLM providers including GPT, Gemini, and local models via Ollama. Install it in under a minute with curl -fsSL https://opencode.ai/install | bash.
🌐
Nxcode
nxcode.io › home › resources › news › how to install opencode: step-by-step setup guide (2026)
How to Install OpenCode: Step-by-Step Setup Guide (2026) | NxCode
3 weeks ago - Step-by-step guide to installing OpenCode in 2026. npm, Homebrew, Go install, Docker — every method covered with configuration for GPT, Gemini, Ollama, and troubleshooting common errors.
🌐
opencode
opencode.ai › docs › cli
CLI | OpenCode
4 days ago - When OpenCode starts up it loads the providers from the credentials file. And if there are any keys defined in your environments or a .env file in your project. Lists all the authenticated providers as stored in the credentials file. ... Or the short version. ... Logs you out of a provider by clearing it from the credentials file. ... Manage the GitHub agent for repository automation. ... Install ...
🌐
Homebrew
formulae.brew.sh › formula › opencode
opencode — Homebrew Formulae
brew install opencode · AI coding agent, built for the terminal · https://opencode.ai · License: MIT · Development: Pull requests · Formula JSON API: /api/formula/opencode.json · Formula code: opencode.rb on GitHub ·
🌐
GitHub
github.com › opencode-ai › opencode
GitHub - opencode-ai/opencode: A powerful AI coding agent. Built for the terminal. · GitHub
brew install opencode-ai/tap/opencode · # Using yay yay -S opencode-ai-bin # Using paru paru -S opencode-ai-bin · go install github.com/opencode-ai/opencode@latest · OpenCode looks for configuration in the following locations: $HOME/.ope...
Starred by 12K users
Forked by 1.3K users
Languages   Go 99.2% | Shell 0.8%
🌐
opencode
opencode.ai › docs › ide
IDE | OpenCode
5 days ago - Search for OpenCode in the Extension Marketplace and click Install.
🌐
Josean
josean.com › posts › how-to-use-opencode-ai
How To Use OpenCode AI
August 26, 2025 - The easiest way to install opencode is through the install script.
🌐
YouTube
youtube.com › watch
How I Set Up OpenCode In 5 Minutes! - YouTube
Build Your Own AI Coding Assistant with OpenCodeIn this video, you'll learn how to use OpenCode, an open-source AI coding CLI tool that combines the power of...
Published   August 3, 2025
🌐
freeCodeCamp
freecodecamp.org › news › integrate-ai-into-your-terminal-using-opencode
How to Integrate AI into Your Terminal Using OpenCode
October 10, 2025 - When you run a command like opencode explain this function, it gathers context from the files you’re working on, passes that to an AI model, and shows the response directly in your terminal. The setup is simple. You can install OpenCode using a single command:
🌐
Apiyi.com Blog
help.apiyi.com › home
Master OpenCode in 5 Minutes: Complete Beginner Guide to the Open Source AI Coding Assistant - Apiyi.com Blog
January 21, 2026 - Author's Note: OpenCode is an open-source AI programming assistant for the terminal that supports various Large Language Models like Claude, OpenAI, and Gemini. This article provides a complete installation, configuration, and usage tutorial to help newcomers get started quickly with this tool trusted by 650,000+ developers.