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
| Shortcut | Action |
|---|---|
Command-K | Open Quick Agent. |
Command-, | Open AskTerminal Settings. |
Command-C | Copy selected terminal text. |
Command-V | Paste into the active terminal. |
Control-C | Interrupt the running command or agent. |
Control-D | Send 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
- Use the background-agent button when you want the Mac to stay awake for unattended work.
- Keep the app running while its terminal process is active.
- Use
Control-Cif a process is stuck, then review the terminal output before retrying.
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.