opencode

Install command:
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

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.4.5

Depends on:

ripgrep 16.0.0 Search tool like grep and The Silver Searcher

Depends on when building from source:

bun 1.4.5 Incredibly fast JavaScript runtime, bundler, test runner, and package manager
rust 1.100.1 Safe, concurrent, practical language
zig@0.16 0.16.0 Programming language designed for robustness, optimality, and clarity

Binaries: opencode

GitHub Packages downloads:

Last 30 days262,787
Downloads2,153,012
Analytics install events (30 days)48,094
Downloads / install events (30 days)5.5×

Source: GitHub Packages, fetched 2026-12-06T00:54:42Z. Analytics dates: 2026-11-06 to 2026-12-06. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs48,005113,065435,835
Installs (--HEAD)89190695
Installs on Request47,980112,983435,682
Installs on Request (--HEAD)89190695
Build Errors33