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.3.0

Depends on:

ripgrep 15.2.0 Search tool like grep and The Silver Searcher

Depends on when building from source:

bun 1.4.4 Incredibly fast JavaScript runtime, bundler, test runner, and package manager
rust 1.100.0 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 days259,085
Downloads1,971,736
Analytics install events (30 days)48,677
Downloads / install events (30 days)5.3×

Source: GitHub Packages, fetched 2026-11-16T00:51:30Z. Analytics dates: 2026-10-17 to 2026-11-16. 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,58499,762421,064
Installs (--HEAD)93166683
Installs on Request48,55899,700420,924
Installs on Request (--HEAD)93166683
Build Errors42