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

# Install the Claude plugin

> Install Deepline in Claude Code or Cowork, authorize the intended org, and verify the CLI before running a data task.

Install the `deepline` plugin, set up the CLI, and confirm which org it can access. Use the same working folder throughout setup and later requests.

## 1. Install the plugin

> [tab] Claude Code
>
> Open Claude Code in your project folder. Run these in Claude Code's command interface, not your terminal:
>
> ```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
> /plugin marketplace add getaero-io/deepline-plugins
> /plugin install deepline@deepline
> ```
>
> Review the plugin details and choose an installation scope to complete installation. Read the install summary, then run:
>
> ```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
> /reload-plugins
> ```
>
> Confirm `deepline` appears in the installed plugins. See [Anthropic's Claude Code installation instructions](https://code.claude.com/docs/en/discover-plugins) if your version presents different controls.

> [tab] Cowork
>
> 1. Open Cowork in Claude Desktop, then open **Customize → Plugins**.
>
> 2. Select **Add → Add marketplace**, then choose the repository option and enter:
>
>    ```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
>    https://github.com/getaero-io/deepline-plugins
>    ```
>
> 3. Open the added marketplace, select `deepline`, and choose **Add**. Wait for installation to finish.
>
> 4. Start a Cowork session with the intended project folder. Keep that folder for CLI setup and later requests.
>
> These steps follow [Anthropic's plugin and marketplace instructions](https://support.claude.com/en/articles/13837440-use-plugins-in-claude). Your organization may restrict which marketplaces you can add; ask an owner if Deepline's repository is blocked.

## 2. Set up the CLI and authorize the org

Paste this into the session after installing the plugin:

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
Install and set up the official Deepline CLI globally from npm (package: deepline) by following https://code.deepline.com/INSTALL.md. Use this session's intended working folder. Stop after setup and report the effective workspace; do not execute provider lookups or write to connected systems.
```

The [canonical installation guide](https://code.deepline.com/INSTALL.md) selects the commands for your npm version and environment. Let the setup finish and read its full result before starting another attempt.

If setup selects a project-local installation, use
`./.deepline/runtime/bin/deepline` in place of `deepline` in the commands below,
from that same project folder. The [CLI installation guide](https://deepline.com/docs/sdk-v2/coding-agents.md)
explains this restricted-environment path.

Complete the browser approval for the org you intend to use. If a pending login returns before approval in Cowork, approve its existing link, then ask Claude to run:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline auth wait --timeout 120
```

This completes the pending login, or reports that the CLI is already connected. If setup reports a resume command, follow that command to finish setup using the same approval flow.

## 3. Verify CLI access and org authorization

For a global installation, ask Claude to run these in the same working folder:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
command -v deepline
deepline --version
deepline auth status --json
```

For a project-local installation, check its binary directly:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
./.deepline/runtime/bin/deepline --version
./.deepline/runtime/bin/deepline auth status --json
```

The first two checks establish CLI availability. Authorization must identify the intended org; a version string or installed-plugin entry does not prove org access. Setup verification requires no provider-backed task.

> [!TIP]
>
> For a CLI failure, ask Claude to run `deepline doctor --json` and explain the reported next action. For a project-local installation, use `./.deepline/runtime/bin/deepline doctor --scope local --json`. For repeated authorization, check the working folder and [folder binding](https://deepline.com/docs/sdk-v2/multi-org.md) before restarting setup.
>
> If Cowork cannot reach Deepline, check its effective network egress policy; a working browser connection does not prove the session can reach the CLI's services. On Team and Enterprise plans, the organization owner may need to enable Cowork or permit required network access. Network egress controls are under **Organization settings → Capabilities → Code execution**; ask the owner for access when controls are locked. Start a new session after network-policy changes, as described in [Anthropic's Cowork organization controls](https://support.claude.com/en/articles/13455879-use-claude-cowork-on-team-and-enterprise-plans).

## Optional: run a first workflow

After verification, `/deepline-quickstart` helps choose a maintained Play and pilot a record. It can execute provider-backed work and incur usage; it is optional and not an installation check.

Or use this starter after setup. It also performs provider-backed work and can incur usage. Review the results and unresolved records before requesting more rows.

```text theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
/deepline-gtm Find 3 AI companies funded in the last 30 days, with founder contacts and verified work emails.
```

Continue with [Run Plays and view results](https://deepline.com/docs/sdk-v2/calling-plays.md) or the
[Quickstart](https://deepline.com/docs/quickstart.md) for a first-run lesson.


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