Devin CLI: installation, login and your first coding task
By CodeAgentSwarm · Updated September 11, 2026
What do you need to get started?
Install the official CLI, authenticate with Devin and open a project directory. Devin CLI works with local files; Devin Cloud runs in a separate environment. Official quickstart.
A real task in the CodeAgentSwarm beta

Chat keeps the prompt, response and model controls together. Use a specific acceptance condition: the agent should identify the actual test command from the repository, rather than guess a command that sounds plausible.
Install on macOS or Linux
Run the installer published by Cognition from a system terminal, then reopen the terminal and check that the command is available. On Windows, follow the native Windows instructions.
curl -fsSL https://cli.devin.ai/install.sh | bash
devin --versionCodeAgentSwarm beta also provides Devin installation and update controls. If detection fails after a successful system installation, reopen the app so it receives the updated environment.
Sign in before opening Chat
devin auth login
devin auth status
cd /path/to/project
devinComplete the browser sign-in flow with the account you intend to use. In CodeAgentSwarm beta, perform this step in the Devin CLI view, then open a new Devin Chat. Authentication belongs to Devin on that host. Devin authentication.
Try a task with an observable result
Read README.md and package.json. Explain what this project does
and give me the exact test command. Do not change any files.- Check the project path before sending the request.
- Compare the answer with the scripts in package.json.
- For your next request, ask for one change and review its diff and test result.
This first read-only request separates account or directory problems from problems with an edit. If it fails, fix that prerequisite before asking the agent to change code.
Choose a model and keep the conversation
Use the models and usage guide to understand the model picker and account quota. When you return to a task, use history and resume so you can continue the original conversation.
If two agents will edit overlapping files, give them separate Git worktrees. Separate chats alone do not isolate the checkout.
Devin in CodeAgentSwarm: beta status
The integration is being tested for an upcoming CodeAgentSwarm release. The screenshots show that beta, not a promise that the current public installer already includes Devin. Sign in with the official Devin CLI on the computer that runs the agent.
FAQ
No. Devin CLI works in your local environment; Devin Cloud uses a separate cloud environment. This guide is about the local CLI.
In the beta, run the official Devin sign-in flow from its CLI view. Then open a new Devin Chat on the same host.
The integration is in beta testing for an upcoming release. Check the public release notes for availability.
Devin Chat, installation and history are in CodeAgentSwarm beta testing for an upcoming release. The button downloads the current public app; check its release notes for Devin availability.