The open source coding agent. https://opencode.ai/
|
|
5 місяців тому | |
|---|---|---|
| .github | 03f7f18260 ci: adjust auto label | 5 місяців тому |
| .husky | 96bdeb3c7b OpenTUI is here (#2685) | 5 місяців тому |
| .opencode | 7de6ea5922 fix: fix typo in commit message guidelines (#3702) | 5 місяців тому |
| github | 0f7ff3fcb1 Log share link immediately after session creation (#3811) | 5 місяців тому |
| infra | 05232ead93 zen: wip | 5 місяців тому |
| logs | 96bdeb3c7b OpenTUI is here (#2685) | 5 місяців тому |
| packages | 11d6005b77 tui: reduce scrollbar visual prominence for less distracting interface | 5 місяців тому |
| patches | 854f9227a2 Patch Start to preload route css in SSR (#2389) | 7 місяців тому |
| script | 662435c5bb ci: stuff | 5 місяців тому |
| sdks | 86247b8ea9 release: v1.0.33 | 5 місяців тому |
| specs | f993541e0b Refactor to support multiple instances inside single opencode process (#2360) | 7 місяців тому |
| .editorconfig | dd22cb2bb0 chore: add .editorconfig (#536) | 9 місяців тому |
| .gitignore | 6f0028644e fix: support scoped npm plugins (#3785) | 5 місяців тому |
| AGENTS.md | 8b70b89fde fix: typos (#3757) | 5 місяців тому |
| CONTRIBUTING.md | cb4401ec92 ignore: update contributing md | 5 місяців тому |
| LICENSE | ef3fd5900f docs: cleanup casing | 10 місяців тому |
| README.md | 54af7f9e18 docs: use brew official formula (#3733) | 5 місяців тому |
| STATS.md | 2db76fc6dd ignore: update download stats 2025-11-05 | 5 місяців тому |
| bun.lock | 86247b8ea9 release: v1.0.33 | 5 місяців тому |
| bunfig.toml | 1472efcbfe Optimize package management with catalog and exact versions | 10 місяців тому |
| install | 36b48a44ac tweak - normalise unix-like identifiers to support git bash for windows (#2100) | 5 місяців тому |
| opencode.json | 96bdeb3c7b OpenTUI is here (#2685) | 5 місяців тому |
| package.json | d525fbf829 feat(desktop): session router, interrupt agent, visual cleanup | 5 місяців тому |
| sst-env.d.ts | 05232ead93 zen: wip | 5 місяців тому |
| sst.config.ts | bfe3f03e03 ci: fix deploy | 6 місяців тому |
| tsconfig.json | 925ce6503e sync | 6 місяців тому |
| turbo.json | 8bea479df9 ci: wtf | 6 місяців тому |
The AI coding agent built for the terminal.
# YOLO
curl -fsSL https://opencode.ai/install | bash
# Package managers
npm i -g opencode-ai@latest # or bun/pnpm/yarn
scoop bucket add extras; scoop install extras/opencode # Windows
choco install opencode # Windows
brew install opencode # macOS and Linux
paru -S opencode-bin # Arch Linux
[!TIP] Remove versions older than 0.1.x before installing.
The install script respects the following priority order for the installation path:
$OPENCODE_INSTALL_DIR - Custom installation directory$XDG_BIN_DIR - XDG Base Directory Specification compliant path$HOME/bin - Standard user binary directory (if exists or can be created)$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
For more info on how to configure OpenCode head over to our docs.
If you're interested in contributing to OpenCode, please read our contributing docs before submitting a pull request.
It's very similar to Claude Code in terms of capability. Here are the key differences:
The other confusingly named repo has no relation to this one. You can read the story behind it here.
