tfui latest

Console

Overview

Evaluate terraform expressions inside the TUI. Each expression you enter runs in its own terraform console call against the current chdir, so each Enter pays terraform’s startup time.

Screenshot

Console

Interactive (TUI)

Press ~ from the home menu, type an expression and press Enter.

Keybindings

Key Action When
Enter Evaluate expression Input
↑ / ↓ Navigate history Input
Ctrl+U Clear current input Input
Esc Back to home Not while evaluating
q Back to home (when input empty) Empty input

Flow

Home ──~──→ Console (REPL)
               │
               ├── type expression → Enter → evaluate → show result
               ├── ↑/↓ → recall previous expressions
               └── Esc → Home

Command Line (CLI)

Console has no tfui command. Run terraform console directly.

Equivalence

Goal CLI TUI
Evaluate expression terraform console ~ → type → Enter
  • State Browser – browse resources visually instead of querying
  • Outputs – view output values without expressions

Edit this page on GitHub