Skip to main content

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.
devin                           # Start interactive REPL (no prompt)
devin -- your prompt here        # Start REPL with initial prompt
devin -p -- "prompt"            # Single-turn, no REPL: print response to stdout and exits
Use -- before your prompt so it is interpreted as a prompt and not a subcommand.
Single-turn mode (-p) is great for scripts and automations.
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

Auto-approves read-only tools, asks for permission for write/execute operations.
/normal
# or
/mode normal
This is the default mode.
Planning-only mode. The agent excels at creating detailed, code-grounded implementation plans. It has access to all tools but doesn’t make changes.
/plan
# or
/mode plan
Auto-approves all tool calls, including writes and shell commands.
/bypass
# or
/mode bypass
You can also start in bypass mode:
devin --permission-mode bypass
Aliases: /yolo, /dangerous

Session History

Your conversation history is saved so you can resume a session later.
devin -c              # Continue the most recent session in the current directory
devin --continue

devin -r              # Pick from recent sessions
devin --resume

Slash Commands

You can use these commands while in an active session.
CommandDescription
/helpSee all available commands
/exit or /quitExit the application
/clearClear conversation history (start fresh)

Mode Switching

CommandDescription
/modeShow current mode
/mode <name>Switch mode (normal, plan, bypass)
/normalSwitch to Normal mode (default)
/planSwitch to Plan mode
/bypassSwitch to Bypass mode (aliases: /yolo, /dangerous)

Model Switching

CommandDescription
/modelShow model selector
/model <name>Switch model (swe, opus, sonnet, gpt)

Session Management

CommandDescription
/lsList recent sessions in current directory
/ls --allList all sessions across all directories
/continueResume most recent session
/continue <id>Resume session by ID

Workspace

CommandDescription
/workspaceList workspace directories
/add-dir <path>Add additional workspace directory

Account & System

CommandDescription
/loginAuthenticate with your account
/logoutClear stored credentials
/updateCheck for and install updates
/bugSubmit a bug report