AITeamGuide

AITeamGuide Hub · Agent

OpenCode

An open-source coding agent for the terminal and desktop that works with many model providers.

Agent★ 231k starsMITSoftware development

View on GitHub

Short answer: how to install OpenCode

OpenCode is an MIT-licensed, open-source agent on GitHub (anomalyco/opencode) with 230,635 stars as of December 2, 2026. Its last push was on December 2, 2026. To install it, run curl -fsSL https://opencode.ai/v2/install | bash. It works with Self-hosted.

Key facts

Type
Agent
Jobs it fits
Write and fix code
Fields
Software development
Works with
Self-hosted
GitHub
anomalyco/opencode
Licence
MIT
Stars
230,635 as of December 2, 2026
Last updated
December 2, 2026 (last push to GitHub)
Author
@anomalyco
Submitted by
@aiteamguide
Added to the Hub
October 21, 2026

Install / Use it

MIT

Download ZIP View source

Install script

curl -fsSL https://opencode.ai/v2/install | bash

npm

npm i -g @opencode/cli@latest

Safety: Runs code from a third-party repo. Review the source and the permissions before installing.

Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.

FAQ

How do I install OpenCode?

run curl -fsSL https://opencode.ai/v2/install | bash. Full steps for each app are in the install panel on this page and in the project's README.

Is OpenCode free?

The code is open source under the MIT licence, so it's free to use. Any account or API key the connected service needs is billed by that service, not by the project; see the README.

Is OpenCode still maintained?

Its last push to GitHub was on December 2, 2026, and it had 230,635 stars as of December 2, 2026. We re-check GitHub daily.

Prefer a ready-made product?

Commercial agents for the same job, with real prices: Claude Code, OpenAI Codex, all coding agents.

Get new open-source AI tools like OpenCode in one weekly email

One email a week: new open-source agents, skills, MCP servers and playbooks from the Hub, plus AI agent price changes and new free plans. Free; unsubscribe anytime.

Free, no signup needed: the AI agent pricing cheat sheet, the cheapest listed plan for every job on one printable page.

The pricing cheat sheet is a free page on this site (no signup needed). Not sure yet? Read the latest issue first.

More from the Hub

Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.