AiBOX.im

OpenCode

AI coding workbench: desktop + terminal, any model

Stats paused
WindowsmacOS Difficulty ●●○○○ stable v1.19.6
OpenCode icon

OpenCode · icon from the registry

System requirements

No extra runtime needed

This app ships with everything it needs — no Node.js, Python or other runtimes to install.

Platforms

WindowsmacOS

AI coding workbench: desktop + terminal, any model

Registry data updated: 2026-11-17

Config & data

Configuration file

~/.config/opencode/opencode.json

  • ~/.config/opencode
  • ~/.local/share/opencode
  • ~/AppData/Roaming/opencode
  • ~/Library/Application Support/opencode

Everything stays on your own machine — nothing is uploaded. To uninstall, delete these folders.

Install in three steps

  1. 01

    Install AiBOX

    One portable file for Windows and macOS. Double-click it and it runs — no installer, no administrator rights.

    Go to download →
  2. 02

    Pick OpenCode

    Open the AiBOX app catalog, find OpenCode and press Install. AiBOX checks what your machine already has and installs only what is missing.

  3. 03

    Follow the wizard

    AiBOX checks the download. If the desktop wizard offers configuration for your app, system and provider, review and confirm it there. For manual setup, follow the guide and enter any credentials in the app. Test the connection in the app when finished.

    ✓ Installed until it works.

Prefer to do it by hand? The full written guide is right below. Read the guide ↓

Install guide

The same steps in written form — follow along at your own pace.

Before you start

  • OS: Windows 10/11 (x64/ARM64) or macOS 12+ (Apple silicon / Intel)
  • Disk: ~400MB (installers 119-156MB)
  • Permissions: no admin rights — installs into your user folder
  • Required: a model API key (OpenRouter / Anthropic / local Ollama)

Install with AiBOX (recommended)

  1. Open AiBOX → catalog → OpenCode → Install
  2. The installer downloads (CN gateways auto-fallback), is hash-verified and installed silently
  3. Launch OpenCode from the Start menu / Applications

Manual install

  • Windows: download the opencode-desktop-win-*.exe for your arch from GitHub Releases and run it (per-user, no UAC)
  • macOS: download the dmg for your chip, open it and drag OpenCode.app into Applications

Configure (make it actually work)

  1. Open OpenCode → Settings → pick a provider (OpenRouter recommended: one key, every model)
  2. Paste your API key (create at https://openrouter.ai/keys, starts with sk-or-v1-)
  3. The key stays on this machine (~/.config/opencode/) — neither AiBOX nor OpenCode uploads it

Verify success

Open a project in OpenCode and ask it to "write a hello world and run it". If it edits files, executes commands and reports back, you're done.

Troubleshooting

  • Model connection fails: check the key is complete and your account has balance
  • Slow access from CN: OpenRouter works, or go local with Ollama (free)
  • Prefer the terminal: the desktop build ships the terminal TUI too — see Settings for CLI usage

Uninstall

Windows: Settings → Apps → Uninstall. macOS: delete OpenCode.app from Applications. Provider keys, session history and config live in ~/.config/opencode/ and ~/.local/share/opencode — deleting loses them; back up first. AiBOX → Manage → Uninstall backs up automatically.

Model / API key setup

Review the available providers here. Use the desktop wizard when it offers configuration for your setup, or follow the app guide to configure it locally.

OpenRouter

You need an API key from the provider.

~/.config/opencode/opencode.json

The same key works for 18 other apps here.

Get a key ↗

Anthropic (Claude)

You need an API key from the provider.

~/.config/opencode/opencode.json

The same key works for 22 other apps here.

Get a key ↗

Ollama (local)

Local model — no API key needed.

~/.config/opencode/opencode.json

Common questions

Which platforms does OpenCode run on?

Runs on Windows / macOS — install it with AiBOX on any of them.

How hard is OpenCode to install?

Difficulty 2 out of 5. AiBOX does the download and setup; your part is clicking through the wizard and pasting a key if the app needs one.

Where does OpenCode keep my data?

Everything stays on your own machine: ~/.config/opencode / ~/.local/share/opencode / ~/AppData/Roaming/opencode / ~/Library/Application Support/opencode. To uninstall, delete these — nothing is ever uploaded.

Something not working?

An outdated step, an error you do not understand, a typo — tell us and we will fix this page.

Report a problem →

Version & updates

Current version
v1.19.6
Registry data updated
2026-11-17

Upstream projects

Version numbers are re-checked by our daily probe — when upstream ships a new release, this page follows.

Questions or problems?

A wrong step, a confusing error, a typo — open an issue and someone will look.