> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Devin CLI

> Download and install Devin CLI, a local coding agent that runs in your terminal on macOS, Linux, WSL, and Windows, with handoff to cloud Devin.

[Devin CLI](/cli) is a local coding agent that runs directly in your terminal. It works with your local files and environment, giving you fast, interactive assistance right where you code.

## Download Devin CLI

<Tabs>
  <Tab title="macOS / Linux / WSL">
    ```bash theme={null}
    curl -fsSL https://cli.devin.ai/install.sh | bash
    ```
  </Tab>

  <Tab title="Homebrew">
    On macOS, install Devin CLI with [Homebrew](https://brew.sh):

    ```bash theme={null}
    brew install --cask devin-cli
    ```

    To upgrade to the latest version later, run:

    ```bash theme={null}
    brew upgrade --cask devin-cli
    ```
  </Tab>

  <Tab title="Windows">
    Download and run the installer:

    * [x86\_64 (most Windows PCs)](https://static.devin.ai/cli/devin-updater-x86_64-pc-windows.exe)
    * [ARM64 (Windows on ARM)](https://static.devin.ai/cli/devin-updater-aarch64-pc-windows.exe)

    Alternatively, open **PowerShell** and run:

    ```powershell theme={null}
    irm https://static.devin.ai/cli/setup.ps1 | iex
    ```

    <Warning>
      `irm` and `iex` are PowerShell commands. Do not run this in Git Bash or CMD — it will fail with "command not found". Use PowerShell for installation only.
    </Warning>

    After installing, you can use Devin CLI from **PowerShell**, **Windows Terminal**, or **Git Bash**.
  </Tab>

  <Tab title="Devin Desktop">
    Devin CLI is bundled with **Devin Desktop**. This installation method is available for **Legacy Windsurf Enterprise** and **Devin Enterprise** plans.

    **Admin setup:** For the Devin Desktop-bundled install, an admin must first enable the install option in Devin CLI team settings by toggling on **Install Devin CLI in Devin Desktop**.

    **User installation:**

    1. Open Devin Desktop
    2. Open the Command Palette with <code>Cmd+Shift+P</code>
       (macOS) or <code>Ctrl+Shift+P</code>
       (Windows/Linux)
    3. Search for and run **Install Devin CLI**

    This adds the `devin` binary to your PATH so you can use it from any terminal.
  </Tab>
</Tabs>

After you restart your terminal, enter a project directory and type `devin` to start.

For full documentation — including commands, configuration, and extensibility — see the **[Devin CLI docs](/cli)**.

<CardGroup cols={2}>
  <Card title="Quickstart & installation" icon="bolt" href="/cli">
    Install and start coding in 2 minutes
  </Card>

  <Card title="Essential commands" icon="terminal" href="/cli/essential-commands">
    Must-know commands and keyboard shortcuts
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.