Command Line

Terminals & Shortcuts

Use familiar terminal controls while keeping each shell and agent attached to the right project.

Project-aware terminals

A terminal started from a project opens in that project’s folder. New Claude Code and Codex sessions launch with the selected engine; resumed and forked sessions open with their prior context.

Check the terminal title and working directory before running a destructive command. Opening several project windows is useful when you need to keep unrelated repositories separate.

Essential shortcuts

ShortcutAction
Command-KOpen Quick Agent.
Command-,Open AskTerminal Settings.
Command-CCopy selected terminal text.
Command-VPaste into the active terminal.
Control-CInterrupt the running command or agent.
Control-DSend end-of-file or exit the current shell.

Quick Agent

Press Command-K for a fast request without opening a full project session. Quick Agent runs in the workspace and engine selected under Settings → General. Its response appears in the top-of-screen panel.

Long-running commands

Shell access is real access: Commands run with your macOS user’s permissions. Treat commands suggested by an agent the same way you would treat commands copied from the internet.