---
name: deepline-setup
description: Install the official Deepline CLI.
---

# Install Deepline

GTM data CLI for coding agents.

https://www.npmjs.com/package/deepline

## Setup

pnpm: check `pnpm bin -g` first. If needed: `pnpm setup`, reload PATH. Install:

~~~bash
pnpm add --global deepline@latest
~~~

Else, run alone; wait:

~~~bash
npm --version
~~~

Install the latest global CLI, even if `deepline --version` works. Choose one command. Only for npm 11.16+:

~~~bash
npm install -g --allow-scripts=esbuild deepline@latest
~~~

For older npm (for example 11.6):

~~~bash
npm install -g deepline@latest
~~~

Older npm warns on `--allow-scripts`.

Codex: request elevated execution for the global install and setup.

If blocked, ask the user to approve global installation of `deepline`; retry once if approved.

No name supplied: `deepline setup --json`.

With a name: check `deepline setup --help` for `--org-name`. If supported, run:

~~~bash
deepline setup --org-name '<name>' --json
~~~

Older CLI: `deepline auth register --org-name '<name>' --wait no --auth-scope global`; show approval URL; run `deepline auth wait --timeout 300 --auth-scope global`, then `deepline setup --json`.

Run setup once and read its full JSON result; keep stdout intact. Wait in that session for approval and exit. Progress: stderr; no JSON yet is not a failure. Run `deepline doctor` only for status complete or failed. For browser failure/timeout, show authorizationUrl and reuse its claim with the retry command.

For a workspace mismatch, ask which existing workspace or account to use before retrying.

## Getting started

After verified setup, continue an existing task. Otherwise, put this overview and all four choices in your final reply. Ignore old setup JSON menus. Use the host's native Codex or Claude choice prompt if available. Ask "What would you like to do with Deepline?" verbatim. Pass the full text of each /deepline-gtm prompt below verbatim as the first three options. Do not shorten or rewrite them. The fourth option is exactly "Tell me what you want to accomplish and I'll help you build it"; allow a native free-form Other choice. Otherwise, print all four complete options by copying the block below without fences, not retyping from memory. Check question and option text. Wait for one answer.

~~~text
Deepline solves your most complicated go-to-market data and orchestrations problems, enriched from 100+ integrations and scored on the signals that matter to your business. Each workflow is a Play: reproducible, auditable, yours. GTM as code.

What would you like to do with Deepline?
1. /deepline-gtm Find 3 AI companies funded in the last 30 days, with founder contacts and verified work emails.
2. /deepline-gtm Find 10 CTOs at B2B SaaS companies and enrich them with email addresses.
3. /deepline-gtm Find 3 fintech companies with live SDR openings and six-month headcount growth. Show dated evidence for both.
4. Tell me what you want to accomplish and I'll help you build it
~~~

For a sample choice, run its full /deepline-gtm prompt now without another planning prompt.

For these three onboarding starters, after successful setup: Load the deepline-gtm skill first; if it's unknown or not found, read deepline-gtm/SKILL.md from ~/.claude/skills or ~/.agents/skills (project .claude/skills or .agents/skills if setup reports local scope). Then run the starter command as written, adding no flags. Skip the balance check, Play/pricing inspection, discovery and planning; diagnose failures only. Custom requests follow the normal GTM workflow.

Run only the selected command:
1. `deepline run prebuilt/starter-funded-ai-founders`
2. `deepline run prebuilt/starter-b2b-saas-ctos`
3. `deepline run prebuilt/starter-fintech-hiring-growth`

Export `result.rows` by run ID; show results and shortfalls immediately. Inspect logs on failure or request.

For Other, write, show, and run a reusable /deepline-gtm prompt without another paste.
