AI codingMITTypeScript

opencode

Open-source AI coding agent built for the terminal.

Stars
213.6K
Forks
28.7K
Open issues
4.3K
Last commit
2026-10-15

Live from the GitHub API · updated 2026-10-15

What is opencode?

opencode is a terminal-based coding agent with a rich TUI, support for many model providers, LSP integration and a client/server design that also powers desktop and IDE clients.

Key features

  • Terminal UI
  • Any model provider
  • LSP-aware edits
  • Shareable sessions

System requirements

Platforms
macOS · Linux · Windows

How to install opencode

Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.

Install script / npm

  1. 1
    Install with the script or npm.
    curl -fsSL https://opencode.ai/install | bash
    # or
    npm i -g opencode-ai
  2. 2
    Start it in your project.
    opencode

Strengths

  • Polished TUI
  • Provider-agnostic

Limitations

  • Young project; changes quickly

opencode alternatives compared

SoftwareStarsLicensePlatformsVRAM
opencode

Open-source AI coding agent built for the terminal.

213.6KMIT—
Aider

AI pair programming in your terminal, with automatic git commits.

49.6KApache-2.0—
Codex CLI

OpenAI’s lightweight coding agent for your terminal.

129.3KApache-2.0—
Gemini CLI

Google’s open-source AI agent for the terminal.

107.4KApache-2.0—
Continue

Open-source AI code assistant for VS Code and JetBrains.

36.2KApache-2.0—
Cline

Autonomous coding agent inside VS Code that asks before it acts.

70.3KApache-2.0—

FAQ

Is opencode free?

Yes — opencode is open-source software released under the MIT license. Check the license (and any model weight licenses) before commercial use.

Does opencode run on Windows, Mac and Linux?

opencode supports: macOS, Linux, Windows.

How do I install opencode?

1. Install with the script or npm. 2. Start it in your project.

What are the best opencode alternatives?

Popular alternatives include Aider, Codex CLI, Gemini CLI, Continue. See the comparison table on this page.