Cmd. /theme
Choose and persist the TUI syntax-highlighting theme.
Key takeaways
- Choose and persist the TUI syntax-highlighting theme.
- Check the input surface and availability before using the examples below.
Purpose
Choose and persist the TUI syntax-highlighting theme.
/themeAvailability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Codex CLI 0.155.1 |
The installed command menu and account or organization settings determine availability.
Examples
/themeWhen to use it
- Improve diff contrast in a light or dark terminal.
- Standardize the theme used during team screen-sharing and reviews.
Choosing related commands
| Command | Difference | Choose It When |
|---|---|---|
/theme | Changes code and diff highlighting | Readability needs tuning |
/statusline | Changes footer fields | You want different visible status data |
/title | Changes terminal title fields | You need better window identification |
Effects and persistence
Changes the terminal color theme without editing code or conversation content.
/theme opens the theme picker so you can preview and save Codex TUI syntax-highlighting themes.
Cautions
- Themes do not change model behavior or permissions.
- Document custom theme file installation if you distribute one.
Official sources
Complete command list · Verification scope · History for this command