Open a terminal
Open one from the New terminal icon in the right sidebar, or choose Open In → Terminal on a path in the file tree to start the terminal in that directory.cmd-shift-t to switch between the conversation and the terminal.
Terminal actions
The terminal handles output and ANSI control sequences as raw bytes and never treats binary output as text.
Shell selection
The toolbar lists the available shells, and selecting one switches the shell for the current tab:- Windows: PowerShell, Command.
- Other platforms: bash, zsh, fish (only those actually present on the system).
Working with Agents
When an Agent asks to run a command, the timeline shows the process details and the exit result. The command may wait for permission; check the command, working directory, and arguments before you approve it.Stale terminals
After the authoritative runtime restarts, terminal session content is not preserved (only tab metadata is). Lost terminals are markedstale.
When you see stale, reopen the tab and trust the new snapshot — do not repeat commands based on the old snapshot.
Mobile terminals
Mobile receives terminal snapshots and a permission-gated input channel. Input carries the workspace scope, generation checks, and an audit record. When the network drops, mobile does not assume a command ran; after reconnecting, trust the authoritative snapshot.Terminal output can contain secrets, paths, and user data. Do not paste complete terminal output into public issues, logs, or diagnostic material.