Usage
man devin.
Global Flags
Examples:
Subcommands
devin auth
Authentication related commands.
Options for
devin auth login:
--force-manual-token-flow— Skip browser-based auth and manually paste a token (useful for remote/SSH sessions)
devin mcp
Connect and log in to Model Context Protocol servers.
Options for
devin mcp add:
-t, --transport <stdio|http>— Transport type (optional; inferred from URL → http, trailing args → stdio)-s, --scope <local|project|user>— Configuration scope (default:local)--url <URL>— URL for HTTP transport (can also be passed as a positional argument after the name)--command <CMD>— Command for stdio transport (optional when trailing args are provided)-e, --env <KEY=VALUE>— Environment variables (repeatable)-H, --header <HEADER: VALUE>— HTTP headers (repeatable)--scopes <SCOPE,SCOPE>— OAuth scopes to request (comma-separated)--oauth-resource <RESOURCE>— Override the RFC 8707resourceparameter sent in OAuth requests (default: the MCP server URL; pass an empty string to omit it for providers that reject it)<URL>— Positional URL argument for HTTP (alternative to--url)-- <COMMAND> [ARGS...]— Command and arguments for stdio (first arg is the command when--commandis omitted)
HTTP servers try Streamable HTTP first and fall back to legacy SSE on 4xx errors (per the MCP spec). You can also set
"transport": "sse" explicitly. See MCP Configuration → Troubleshooting.devin mcp remove:
-s, --scope <local|project|user>— Configuration scope (default:local)
devin mcp login:
--scopes <SCOPE,SCOPE>— OAuth scopes to request (comma-separated)--oauth-resource <RESOURCE>— Override the RFC 8707resourceparameter sent in OAuth requests (default: the MCP server URL; pass an empty string to omit it for providers that reject it)
devin mcp enable:
-s, --scope <local|project|user>— Configuration scope (default:local)
devin mcp disable:
-s, --scope <local|project|user>— Configuration scope (default:local)
devin rules
Manage agent rules (always-on context blobs).
Options for
devin rules list:
--provider <cursor\|windsurf>— Filter by rule provider
devin skills
Manage agent skills (slash commands and agent-triggered context blobs).
Options for
devin skills list:
--trigger <user\|model>— Filter by trigger type
devin list
List sessions in the current directory. Alias:devin ls
devin version
Print the current version and exit.devin --version.
devin acp
Run Devin as an Agent Client Protocol (ACP) server over stdio. This subcommand is intended to be invoked by an ACP-aware editor or IDE (such as Windsurf or Zed) as a subprocess — it speaks JSON-RPC over stdin/stdout and is not meant to be run interactively.WINDSURF_API_KEY if set, otherwise from the credentials stored by devin auth login. It can also accept credentials at runtime via the ACP authenticate request.
devin update
Check for updates and optionally install them.--force to re-install even if already on the latest version:
devin shell
[Feature Preview] Shell integration commands. See Shell Integration for full details.devin sandbox
[Research Preview] Manage OS-level process sandboxing for the exec tool. Pass the global--sandbox flag to run a session with the sandbox enforced.
devin sandbox setup
Print the sandbox prerequisites for the current platform. Requirements to run with--sandbox:
- Linux: requires bubblewrap (
bwrap) andsocat. A sandbox session fails to start with install instructions if either is missing — including in a fresh WSL distribution. - macOS: works out of the box via Seatbelt; no extra packages needed.
- Windows: native Windows cannot run the sandbox. Install WSL 2 and run Devin inside your WSL distribution.
devin setup
Interactive setup wizard for authentication and MCP configuration.devin uninstall
Uninstall Devin CLI and optionally remove all data.Slash Commands
These commands are available inside an interactive session. Type them at the prompt.Mode & Model
/bypass has aliases /yolo and /dangerous. All three do the same thing.Session Management
Workspace
Automation
Extensibility
Utilities
Cloud Sessions (insiders only)
Modes
Modes control the agent’s autonomy level by combining a permission mode with an agent profile.- Normal (default)
- Plan
- Bypass
Full autonomy for complex coding tasks. The agent can read, write, and execute commands with normal permission checks.
- Permission mode: Normal
- Profile: Normal
- Use for: Multi-file refactoring, feature implementation, bug fixes
/mode, or switch directly with /normal, /accept-edits, /plan, or /bypass. Use /ask <question> as a oneshot command to ask questions without switching modes.

