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

    Added Scroll on send in Settings

    Added Scroll on send in Settings. Choose Keep (session.submit_scroll: "keep") to retain your reading position after submitting a prompt.#61460

    Fixes

    • TerminalAllow Ctrl+Z to suspend OpenCode while a form or dialog is open.#62118
    • TerminalKeep focus on an open dialog when a question arrives and contain plugin dialogs that throw during rendering.#60365#62110
    • TerminalShow an error when Ctrl+V cannot read the clipboard. Thanks @jimmyallinai.#61094
    • TerminalPrevent session titles containing newlines from crashing the TUI. Thanks @vishalshekhar.#57523
    6 more fixes
  2. v2.2.5

    The connect menu no longer lists MCP servers

    The connect menu no longer lists MCP servers, which are managed in their own place.#60675

  3. v2.2.4

    Preserved prompt cursor styles applied by plugins when themes or unrelated prompt state change

    Fixes

    • TerminalAdded missing right padding to edit and patch diffs.#60614
    • TerminalExtended the vertical session-tab activity pulse across the full tab width.#60338
See all updates