Starting Devin for Terminal
By default, sessions happen in a REPL, a graphical terminal interface where you can chat back and forth and observe Devin’s actions.Use
-- before your prompt so it is interpreted as a prompt and not a subcommand.Type
@ in the prompt input to open autocomplete for local files/directories. Selecting one adds it as context for your message.Modes
Devin for Terminal supports 3 built-in modes: Normal, Plan, and Bypass.Normal
Normal
Auto-approves read-only tools, asks for permission for write/execute operations.This is the default mode.
Plan
Plan
Planning-only mode. The agent excels at creating detailed, code-grounded implementation plans. It has access to all tools but doesn’t make changes.
Bypass
Bypass
/yolo, /dangerousBypass mode does not override organization-level permissions configured by your admin via Team Settings. Admin-enforced deny and ask rules remain active even in bypass mode.
Session History
Your conversation history is saved so you can resume a session later.Slash Commands
You can use these commands while in an active session.Navigation & Control
| Command | Description |
|---|---|
/help | See all available commands |
/exit or /quit | Exit the application |
/clear | Clear conversation history (start fresh) |
Mode Switching
| Command | Description |
|---|---|
/mode | Show current mode |
/mode <name> | Switch mode (normal, plan, bypass) |
/normal | Switch to Normal mode (default) |
/plan | Switch to Plan mode |
/bypass | Switch to Bypass mode (aliases: /yolo, /dangerous) |
Model Switching
| Command | Description |
|---|---|
/model | Show model selector |
/model <name> | Switch model (swe, opus, sonnet, gpt) |
Session Management
| Command | Description |
|---|---|
/ls | List recent sessions in current directory (alias: /list-sessions) |
/ls --all | List all sessions across all directories |
/continue | Resume most recent session |
/continue <id> | Resume session by ID |
Workspace
| Command | Description |
|---|---|
/workspace | List workspace directories (alias: /workspaces) |
/add-dir <path> | Add additional workspace directory |
Automation
| Command | Description |
|---|---|
/loop <prompt> | Run a prompt then auto-review the diff in a loop (requires clean git state to start) |
Extensibility
| Command | Description |
|---|---|
/hooks | List all loaded hooks with their IDs, event types, and source paths |
Account & System
| Command | Description |
|---|---|
/login | Authenticate with your account |
/logout | Clear stored credentials |
/update | Check for and install updates |
/upgrade | Upgrade your subscription plan |
/bug | Submit a bug report |
/compact | Force conversation compaction |
Key Shortcuts
Here are the most important keyboard shortcuts. See Keyboard Shortcuts for the full reference.| Shortcut | Description |
|---|---|
Shift+Tab | Cycle between modes (Normal, Plan, Bypass) |
Ctrl+C | Clear input text, or cancel the running agent |
Esc | Cancel the running agent |
Shift+Enter | Insert a newline (multi-line input) |
Ctrl+V | Paste image from clipboard |
Ctrl+G | Open external editor |
Ctrl+O | Open full-screen thinking trace viewer |
@ | Mention files to add as context |
Agent Question Shortcuts
When the agent asks a multi-choice question, these shortcuts are available:| Shortcut | Description |
|---|---|
Up / Down | Move between options |
Space | Toggle selection (multi-select questions) |
e or Shift+Enter | Type a custom answer for the selected option |
Tab / Shift+Tab | Navigate between questions (multi-question panels) |
? | Ask the agent to help you decide |
Enter | Submit your answer |
Esc | Cancel typing / exit text editing |

