> 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/de/mini, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Mini

A minimal terminal interface for OpenCode. Run opencode mini and replies print straight into your terminal's own scrollback, so you scroll, search and copy them like any other output. Only the prompt and a status line stay at the bottom.

## Features

- **Your scrollback:** Replies become ordinary terminal history.
- **One prompt:** Agent, model, context and cost on one status line.
- **Permissions:** Allow edits and commands from the prompt area.
- **How much shows:** Quiet, default or everything, for thinking and tool output.
- **Pick up later:** Continue the last session with -c, or any with -s.
- **Same OpenCode:** The same server, agents and models as the other apps.
- **Agents:** Switch agents right from the prompt.
- **Compact:** Shrink a long session with /compact.

## Download

Mini comes with the OpenCode CLI. Install it with any of these, then run opencode mini.

```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

# run
opencode mini
```

## More from Anomaly

- [Hex](https://anoma.ly/hex): On-device voice dictation for any app.
- [OpenTunnel](https://opentunnel.xyz): Public HTTPS URLs for local apps.
- [OpenTUI](https://opentui.com): A library for terminal user interfaces.

---

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