Files
openclaw/docs/cli/tui.md

31 lines
876 B
Markdown
Raw Normal View History

2026-01-15 06:12:54 +00:00
---
2026-01-30 03:15:10 +01:00
summary: "CLI reference for `openclaw tui` (terminal UI connected to the Gateway)"
2026-01-15 06:12:54 +00:00
read_when:
- You want a terminal UI for the Gateway (remote-friendly)
- You want to pass url/token/session from scripts
title: "tui"
2026-01-15 06:12:54 +00:00
---
2026-01-30 03:15:10 +01:00
# `openclaw tui`
2026-01-15 06:12:54 +00:00
Open the terminal UI connected to the Gateway.
Related:
2026-01-31 21:13:13 +09:00
- TUI guide: [TUI](/web/tui)
2026-01-15 06:12:54 +00:00
Notes:
- `tui` resolves configured gateway auth SecretRefs for token/password auth when possible (`env`/`file`/`exec` providers).
- When launched from inside a configured agent workspace directory, TUI auto-selects that agent for the session key default (unless `--session` is explicitly `agent:<id>:...`).
2026-01-15 06:12:54 +00:00
## Examples
```bash
2026-01-30 03:15:10 +01:00
openclaw tui
openclaw tui --url ws://127.0.0.1:18789 --token <token>
openclaw tui --session main --deliver
# when run inside an agent workspace, infers that agent automatically
openclaw tui --session bugfix
2026-01-15 06:12:54 +00:00
```