Devin CLI: installation, login and your first coding task

By CodeAgentSwarm · Updated September 24, 2026

Devin CLI brings a coding agent to your local project. Start with a small task, verify that it can read the right files, and keep the resulting conversation for the next step. This guide covers the standalone CLI and the CodeAgentSwarm 2.4.0 integration.

What do you need to get started?

Devin CLI

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

Devin explaining a sample project in CodeAgentSwarm Chat
Real macOS beta capture with a sample project. Devin is available from CodeAgentSwarm 2.4.0.

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.

bash
curl -fsSL https://cli.devin.ai/install.sh | bash
devin --version

CodeAgentSwarm 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

bash
devin auth login
devin auth status
cd /path/to/project
devin

Complete the browser sign-in flow with the account you intend to use. In CodeAgentSwarm, 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

text
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: available in 2.4.0

Devin is available in CodeAgentSwarm for macOS, Windows and Linux. The screenshots were captured during beta testing. Sign in with the official Devin CLI on the computer that runs the agent.

Before choosing a model, see SWE-2 benchmarks and a practical test.

FAQ

Is Devin CLI the same as Devin Cloud?

No. Devin CLI works in your local environment; Devin Cloud uses a separate cloud environment. This guide is about the local CLI.

Do I sign in through CodeAgentSwarm?

In CodeAgentSwarm, run the official Devin sign-in flow from its CLI view. Then open a new Devin Chat on the same host.

Is Devin included in the current public app?

Yes. Devin is included in CodeAgentSwarm for macOS, Windows and Linux.