devin --cloud runs a Devin Cloud session instead of a local agent. Devin works on its own VM with a shell, browser, and repository clones; the CLI streams the session into your terminal.
Start a cloud session
/cloud in a fresh local session (before the first message; run /clear first otherwise).
Requires a Devin account. Run
devin auth login (or /login) if you are not signed in./repo, /platform, and /model choose the repositories, OS, and model. Then type a task as usual. The session runs on the VM, so closing the terminal does not stop it.
To move an in-progress local session to the cloud, use /handoff.
Resume a cloud session
--resume (-r) reopens any cloud session, whether it was started from the CLI, the web app, or Desktop:
Run non-interactively
--cloud -p starts a session, sends one prompt, prints Devin’s response to stdout, and exits. The session persists; resume it with devin --cloud -r.
Continue the work locally
/pickup (or /handoff) checks out the session’s pull request branch and starts a local session on it. See Hand off back to local.
/ssh opens a shell on the session’s VM. See SSH.
Use your local machine
A cloud session works on its own VM, but it can ask to run commands and edit files on your computer. The simplest way to allow this is to open the session in Devin Desktop and click Approve on the request card. In a session you opened withdevin --cloud, the CLI connects your machine automatically. For a session open in the web app, run the devin connect <CODE> command from the card. In every case, you approve each tool call. See Local Hands.
Cloud slash commands
Available in cloud sessions alongside the usual slash commands:Related resources
SSH
Connect to a cloud session’s VM and forward ports
Hand off to cloud Devins
Move a task between local and cloud with /handoff
Commands & Flags
Full reference for
--cloud and the cloud slash commands
