anomalyco/opencode

▲ 198 stars today★ 210,035⑂ 27,765

The open source coding agent.

About anomalyco/opencode

anomalyco/opencode is an open-source project on GitHub, mainly written in TypeScript. The open source coding agent. It currently holds 210,035 stars and 27,765 forks with 6,283 open issues, and was last pushed on 2026-09-25 (repository created 2025-04-30).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #24 with 198 new stars today.

GitHub Repository Details

Repository anomalyco/opencode · default branch dev · size 538818 KB · watchers 814 · source: GitHub REST API and repository README

README

https://github.com/anomalyco/opencode/blob/HEAD/OpenCode logo

The open source AI coding agent.

https://github.com/anomalyco/opencode/blob/HEAD/Discord https://github.com/anomalyco/opencode/blob/HEAD/npm https://github.com/anomalyco/opencode/blob/HEAD/Build status

English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά | Tiếng Việt

OpenCode Terminal UI

---

Installation

# 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
[!TIP]
Remove versions older than 0.1.x before installing.

Desktop App (BETA)

OpenCode is also available as a desktop application. Download directly from the releases page or opencode.ai/download.

| Platform | Download | | --------------------- | ---------------------------------- | | macOS (Apple Silicon) | opencode-desktop-mac-arm64.dmg | | macOS (Intel) | opencode-desktop-mac-x64.dmg | | Windows | opencode-desktop-windows-x64.exe | | Linux | .deb, .rpm, or .AppImage |

# macOS (Homebrew)
brew install --cask opencode-desktop

Windows (Scoop)

scoop bucket add extras; scoop install extras/opencode-desktop

Installation Directory

The install script respects the following priority order for the installation path:

1. $OPENCODE_INSTALL_DIR - Custom installation directory 2. $XDG_BIN_DIR - XDG Base Directory Specification compliant path 3. $HOME/bin - Standard user binary directory (if it exists or can be created) 4. $HOME/.opencode/bin - Default fallback

# Examples
OPENCODE_INSTALL_DIR=/usr/local/bin curl -fsSL https://opencode.ai/install | bash
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bash

Agents

OpenCode includes two built-in agents you can switch between with the Tab key.

Also included is a general subagent for complex searches and multistep tasks. This is used internally and can be invoked using @general in messages.

Learn more about agents.

Documentation

For more info on how to configure OpenCode, head over to our docs.

Contributing

If you're interested in contributing to OpenCode, please read our contributing docs before submitting a pull request.

Building on OpenCode

If you are working on a project that's related to OpenCode and is using "opencode" as part of its name, for example "opencode-dashboard" or "opencode-mobile", please add a note to your README to clarify that it is not built by the OpenCode team and is not affiliated with us in any way.

---

Join our community Discord | X.com

GitHub Stars & Activity

210,035Stars
27,765Forks
6,283Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars210,035
Forks27,765
Open issues6,283
Primary languageTypeScript
LicenseMIT
Stars gained today198
Created2025-04-30
Last pushed2026-09-25

Trending History

Daily boardrank #24 · ▲ 198 stars

Related GitHub Projects

1

openclaw / openclaw

TypeScript★ 390,503⑂ 82,156▲ 158 stars
→
2

paperclipai / paperclip

TypeScript★ 84,553⑂ 15,203▲ 1,853 stars
→
3

stablyai / orca

TypeScript★ 78,209⑂ 5,118▲ 827 stars
→
4

ChromeDevTools / chrome-devtools-mcp

TypeScript★ 52,602⑂ 4,725▲ 35 stars
→
5

payloadcms / payload

TypeScript★ 44,954⑂ 4,216▲ 28 stars
→
6

every-app / open-seo

TypeScript★ 21,045⑂ 2,697▲ 219 stars
→
7

dream-num / univer

TypeScript★ 18,342⑂ 1,560▲ 1,048 stars
→
8

cursor / plugins

TypeScript★ 8,626⑂ 811▲ 65 stars
→

More Trending Repositories