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.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
  2. 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
  3. v2.4.0

    New TUI Look

    The TUI's new designs are on by default, and the opencode theme is the new one. Pick opencode-classic in Theme to keep the previous colors.#64988

    See all highlights in v2.4.0

    Improvements

    • Terminal/login and /auth open the same dialog as /connect, which now lists a single OpenCode entry that includes OpenCode Go models.#65265#65466
    • TerminalPressing ↓ opens the picker on the first tab with something running, the same tab that clicking the footer opens.#64972
    • TerminalText prompt dialogs such as rename session, /btw, worktree names and connect forms end with a Submit button, and prompt and export dialogs have tighter spacing.#64944
    • TerminalThe opencode theme's light mode uses lighter grays for the prompt box, selected tabs and hovered rows.#64962

    Fixes

    • TerminalFixed connect forms built from integration fields, such as the Azure resource name, showing an empty row between the title and the input.#64944
    • TerminalFixed list dialogs ending with two blank rows, and the Manage workspaces footer not staying at the bottom.#64983
    • TerminalFixed long dialog lists replacing their last visible row with a stray ….#64934
    • TerminalFixed the selection bar of a delete-confirmation row staying blue instead of red.#64936
    1 more fixes
See all updates