Skip to content

Terminal

A fast terminal UI that works in any shell, editor or remote server. Describe what you want in plain words, watch each edit land as a diff, and choose which commands run on their own.

Features

Ask in plain words

Type what you want, and the agent shows its plan as it works.

Approve what runs

Edits show as diffs, and commands wait for your permission.

Make it yours

Switch themes in a keystroke, from the default to tokyonight and more.

Mini

Run opencode mini and replies print into your own scrollback.

  • Any terminalWorks in any shell, in your editor's terminal or on a remote server.
  • Diffs in the timelineSee each edit as a diff in the timeline, as the agent makes it.
  • Pick up laterContinue the last session with -c, or any with -s.
  • One-off runsopencode run sends one message and prints the reply.
  • Agents and commandsSwitch agents with shift+tab and open every command with ctrl+p.
  • Auto-approveRun with --auto to allow every action you haven't denied.
  • Any serverConnect to an OpenCode server by URL with --server.
  • Usage statsopencode stats shows shareable usage statistics.

  • curlcurl -fsSL https://opencode.ai/v2/install | bash
  • npmnpm install -g @opencode/cli
  • bunbun install -g --trust @opencode/cli
  • brewbrew install anomalyco/tap/opencode-v2
  • paruparu -S opencode-beta

Changelog

  1. v2.4.3

    Added Find in session behind the Find in session experiment (`experimental["session-find"]

    Added Find in session behind the Find in session experiment (experimental["session-find"]: true): press <leader>f, super+f, or run /find to search loaded messages incrementally.#64870

    See all highlights in v2.4.3

    Improvements

    • TerminalText selections now render using theme colors (text.selection and background.selection), and provider lists now use the same ordering as Desktop and opencode auth login.#65776#66736

    Fixes

    • TerminalFixed three batches of TUI issues covering session list pinning and renaming, stashed input modes, pinned permission prompts, "none" in keybind arrays, "Jump to latest", Mermaid bold tags and unspaced edge labels, symlinked cli.json live reload, clickable bare URLs in user messages, unmatched leader sequences, and opencode mini --replay-limit, plus an empty slot-path hang.#66795#66813#66841#66863
  2. v2.4.2

    The model picker stays responsive with large catalogs, such as OpenRouter's

    See all highlights in v2.4.2

    Improvements

    • TerminalThe goal dialog scrolls when the goal is long.#65906
    • TerminalUpdated OpenTUI to 0.9.9.#65919

    Fixes

    • TerminalFixed /models showing only free models when the TUI opened a session in another directory.#66424
    • TerminalFixed type-to-filter in Message Actions.#65903
    • TerminalFixed removing theme from config not switching back to the default theme.#65925
    • TerminalFixed quick successive settings changes overwriting each other.#65761
    1 more fixes
  3. v2.4.1

    Config-Only Providers Show Their Models

    Providers you set up only in your config, such as Ollama, now show their models in /models without a /connect login.#65793

    See all highlights in v2.4.1

    Improvements

    • Core, Terminal, DesktopWith experimental.model_speeds enabled, model service tiers are exposed as remembered speeds instead of separate model-picker entries.#65749
See all updates