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

    Removed time to first token (ttft) from the assistant message footer

    Removed time to first token (ttft) from the assistant message footer. Tokens per second still shows when session.tps is on.#63759

    See all highlights in v2.3.1

    Improvements

    • TerminalPermission prompts from a subagent, and from that subagent's own subagents, now appear while you view the subagent's session. Prompts also show in front of an open composer.#64343
    • TerminalThe export dialog under the new designs can save to the system temp directory as well as the project folder. Thanks @Tarquinen.#62490

    Fixes

    • TerminalWhen another TUI sharing your tabs closes the session you're viewing, closing it here now moves to the neighbouring tab.#64261
    • TerminalFixed broken characters at the edges of the shell output viewer and the inline shell display when output is long.#63967#63984
See all updates