> opencode.ai is the source of truth for OpenCode, the open source coding agent, including its apps, install commands, docs and releases. The current version is OpenCode v2.
> Cite the canonical page, https://opencode.ai/ru/terminal, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

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

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

## Features

- **Any terminal:** Works in any shell, in your editor's terminal or on a remote server.
- **Diffs in the timeline:** See each edit as a diff in the timeline, as the agent makes it.
- **Pick up later:** Continue the last session with -c, or any with -s.
- **One-off runs:** opencode run sends one message and prints the reply.
- **Agents and commands:** Switch agents with shift+tab and open every command with ctrl+p.
- **Auto-approve:** Run with --auto to allow every action you haven't denied.
- **Any server:** Connect to an OpenCode server by URL with --server.
- **Usage stats:** opencode stats shows shareable usage statistics.

## Install

```bash
# curl
curl -fsSL https://opencode.ai/v2/install | bash

# npm
npm install -g @opencode/cli

# bun
bun install -g --trust @opencode/cli

# brew
brew install anomalyco/tap/opencode-v2

# paru
paru -S opencode-beta
```

## Отлично работает с OpenCode

- [Browse](https://opencode.ai/ru/product/browse): Let your agent use your real browser, with your logins and tabs.
- [Hex](https://anoma.ly/hex): On-device voice dictation for any app.
- [OpenTunnel](https://opentunnel.xyz): Public HTTPS URLs for local apps.

## Changelog

### [The model picker stays responsive with large catalogs, such as OpenRouter's](https://opencode.ai/changelog/v2.4.2)

2026-11-26 · v2.4.2

[Все главные изменения v2.4.2](https://opencode.ai/changelog/v2.4.2)

#### Улучшения

- **Terminal:** The goal dialog scrolls when the goal is long. ([#65906](https://github.com/anomalyco/opencode/pull/65906))
- **Terminal:** Updated OpenTUI to 0.9.9. ([#65919](https://github.com/anomalyco/opencode/pull/65919))

#### Исправления

- **Terminal:** Fixed `/models` showing only free models when the TUI opened a session in another directory. ([#66424](https://github.com/anomalyco/opencode/pull/66424))
- **Terminal:** Fixed type-to-filter in Message Actions. ([#65903](https://github.com/anomalyco/opencode/pull/65903))
- **Terminal:** Fixed removing `theme` from config not switching back to the default theme. ([#65925](https://github.com/anomalyco/opencode/pull/65925))
- **Terminal:** Fixed quick successive settings changes overwriting each other. ([#65761](https://github.com/anomalyco/opencode/pull/65761))
- [1 more](https://opencode.ai/changelog/v2.4.2)

Вышло в [v2.4.2](https://github.com/anomalyco/opencode/releases/tag/v2.4.2)

### [Config-Only Providers Show Their Models](https://opencode.ai/changelog/v2.4.1)

2026-11-23 · v2.4.1

Providers you set up only in your config, such as Ollama, now show their models in `/models` without a `/connect` login. ([#65793](https://github.com/anomalyco/opencode/pull/65793))

[Все главные изменения v2.4.1](https://opencode.ai/changelog/v2.4.1)

#### Улучшения

- **Core, Terminal, Desktop:** With `experimental.model_speeds` enabled, model service tiers are exposed as remembered speeds instead of separate model-picker entries. ([#65749](https://github.com/anomalyco/opencode/pull/65749))

Вышло в [v2.4.1](https://github.com/anomalyco/opencode/releases/tag/v2.4.1)

### [New TUI Look](https://opencode.ai/changelog/v2.4.0)

2026-11-23 · v2.4.0

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](https://github.com/anomalyco/opencode/pull/64988))

[Все главные изменения v2.4.0](https://opencode.ai/changelog/v2.4.0)

#### Улучшения

- **Terminal:** `/login` and `/auth` open the same dialog as `/connect`, which now lists a single **OpenCode** entry that includes OpenCode Go models. ([#65265](https://github.com/anomalyco/opencode/pull/65265), [#65466](https://github.com/anomalyco/opencode/pull/65466))
- **Terminal:** Pressing `↓` opens the picker on the first tab with something running, the same tab that clicking the footer opens. ([#64972](https://github.com/anomalyco/opencode/pull/64972))
- **Terminal:** Text 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](https://github.com/anomalyco/opencode/pull/64944))
- **Terminal:** The `opencode` theme's light mode uses lighter grays for the prompt box, selected tabs and hovered rows. ([#64962](https://github.com/anomalyco/opencode/pull/64962))

#### Исправления

- **Terminal:** Fixed connect forms built from integration fields, such as the Azure resource name, showing an empty row between the title and the input. ([#64944](https://github.com/anomalyco/opencode/pull/64944))
- **Terminal:** Fixed list dialogs ending with two blank rows, and the **Manage workspaces** footer not staying at the bottom. ([#64983](https://github.com/anomalyco/opencode/pull/64983))
- **Terminal:** Fixed long dialog lists replacing their last visible row with a stray `…`. ([#64934](https://github.com/anomalyco/opencode/pull/64934))
- **Terminal:** Fixed the selection bar of a delete-confirmation row staying blue instead of red. ([#64936](https://github.com/anomalyco/opencode/pull/64936))
- [1 more](https://opencode.ai/changelog/v2.4.0)

Вышло в [v2.4.0](https://github.com/anomalyco/opencode/releases/tag/v2.4.0)

[Все обновления](https://opencode.ai/changelog?area=terminal)

---

If something here is wrong or missing, open an issue at https://github.com/anomalyco/opencode/issues.
