---
title: "Quickstart — PromptConduit docs"
description: Install the PromptConduit CLI, run promptconduit init, and see your first captured Claude Code or Cursor event and its cost in about two minutes.
image: "https://promptconduit.dev/og-image.png"
---

<!-- Markdown copy of https://promptconduit.dev/docs/quick-start. Index of every page: https://promptconduit.dev/llms.txt -->

# Quickstart

Install the CLI, connect Claude Code or Cursor, and see your first captured event and what it cost.

This takes about two minutes. By the end, a prompt you send is recorded on your machine with its cost. If you sign in, the same event shows up on your PromptConduit account too.

## Before you begin

-   macOS or Linux, or Windows with Git Bash, MSYS2, Cygwin or WSL. The installer is a Bash script.
-   Claude Code or Cursor, installed and used at least once on this machine.
-   Optional: a browser, to sign in with Google or GitHub. Signing in creates a free account. You can skip it and stay local-only.

## Step 1: Install the CLI

```bash
curl -fsSL https://promptconduit.dev/install | bash
```

The script downloads the latest release for your OS and CPU into `/usr/local/bin`. It asks for your password only when it can't write there. It ends by printing `Installation complete!` and the next command to run.

Check that your shell finds it:

```bash
promptconduit --version
```

## Step 2: Run the setup wizard

`init` sets PromptConduit up for the assistants it finds on this machine. Choose how you want to run it:

**Sign in:**

<!-- docs-test: ci-runs: "if [ -n \"${DOCS_TEST_API_KEY_FILE:-}\" ]; then\n  promptconduit init --api-key-stdin --tools claude-code --yes < \"$DOCS_TEST_API_KEY_FILE\"\nelse\n  promptconduit init --local-only --tools claude-code --yes\nfi" -->
```bash
promptconduit init
```

The wizard asks whether to sync to the cloud or stay local-only. For cloud sync it opens your browser to sign in and saves an API key. Then it lists the assistants it detected, installs their hooks, and registers the PromptConduit MCP server with Claude Code and Cursor.

**Local only:**

<!-- docs-test: skip: an alternative to the Sign in tab, which is the path CI follows -->
```bash
promptconduit init --local-only
```

No account and no sign-in. Events and cost stay on your machine. You can sign in later with `promptconduit login`.

**No browser:**

Over SSH, in a container or in CI, create an API key on your [profile page](https://app.promptconduit.dev/profile), save it to a file, and pass it on stdin:

<!-- docs-test: skip: needs your API key in key.txt -->
```bash
promptconduit init --api-key-stdin --yes < key.txt
```

`--yes` installs hooks for every assistant it detects. Name them instead with `--tools claude-code,cursor`. To sign in from another device, run `promptconduit login --no-browser`, which prints the sign-in URL instead of opening it.

The wizard ends with a summary like this one:

```text title="output"
Setup complete!
================
  Mode:   Local-only (Free)
  Tools:  claude-code

Next steps:
  • Restart your AI tools to activate hooks
  • Run `promptconduit status` to verify installation
```

> [!NOTE]
> Run from a terminal, the installer starts this wizard itself. If you finished it there, go on to step 3. Without a terminal (CI, a container without `-t`), the installer skips it, so run `init` yourself.

## Step 3: Send one prompt

Hooks load when a session starts. Quit any open Claude Code session, or reload the Cursor window (**Developer: Reload Window** in the command palette). Then open a project and send any prompt, for example "list the files in this repo".

## Step 4: Confirm the event and its cost

In the same project directory, ask for this session's cost:

```bash
promptconduit cost
```

```text title="output"
AI session cost — claude-code  (exact)
  Total: $0.0140 USD
    claude-sonnet-5-5      $0.0140     in 2000 · out 1000 · cache-read 0 · cache-write 0
  Signals: cache-hit 0% · input-share 100% · tier standard
           cache-miss cost share 29%
```

Your numbers will differ. Until a session has run in this directory, it prints `No AI session cost recorded yet for this workspace.` To see each event as it was captured:

```bash
promptconduit events -n 5
```

```text title="output"
21:53:30  Stop               claude-code  8a269916   1.6KB  cost,env,trace
```

Each line is one hook event: the time, the event name, the assistant, the start of the session id, the size, and what was added to it (cost, environment, timing).

If you signed in, check that the event was sent:

```bash
promptconduit status
```

Under `Event Log`, the `sent` count goes up within a few seconds of each prompt. Your sessions then appear on your [PromptConduit overview](https://app.promptconduit.dev/overview).

> [!TIP]
> Ask your assistant directly. In a new Claude Code or Cursor session, try "what has this session cost?". The MCP server that `init` registered answers it.

Nothing showing up? `promptconduit status` says whether each assistant has hooks. When sending fails, it shows the last error and how many events are waiting to send. They're retried in the background.

## Next steps

-   [Editor extension](https://promptconduit.dev/docs/editor-extension): live cost per request in the Cursor or VS Code status bar.
-   [Skills](https://promptconduit.dev/docs/skills): turn your own transcripts into Claude Code skills, with no account needed.
-   [AI agents (MCP)](https://promptconduit.dev/docs/agents): every question your assistant can answer about cost.
-   [Install, upgrade and uninstall](https://promptconduit.dev/docs/installation): pin a version, keep the CLI updated, or remove it.

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "@id": "https://promptconduit.dev/#software",
  "name": "PromptConduit",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "macOS, Linux, Windows",
  "description": "PromptConduit shows what AI coding costs per developer, repo, and pull request across Claude Code and Cursor. An open-source CLI records every session to a local JSONL file first, with git context and exact cost computed on your machine. Teams sync to see spend across members, models, repos, and clients, with budgets and alerts.",
  "url": "https://promptconduit.dev",
  "installUrl": "https://promptconduit.dev/docs/installation",
  "softwareHelp": {
    "@type": "CreativeWork",
    "url": "https://promptconduit.dev/docs"
  },
  "releaseNotes": "https://promptconduit.dev/changelog",
  "license": "https://opensource.org/licenses/MIT",
  "isAccessibleForFree": true,
  "publisher": {
    "@id": "https://promptconduit.dev/#organization"
  },
  "offers": [
    {
      "@type": "Offer",
      "name": "Free",
      "description": "The full CLI on your machine, and a team of up to 3.",
      "price": "0",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 3,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Team",
      "description": "Up to 15 members. One flat price, no seat math.",
      "price": "99",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "99",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 15,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Growth",
      "description": "Up to 50 members, for teams and agencies running AI across many repos.",
      "price": "249",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "249",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 50,
        "unitText": "members"
      }
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://promptconduit.dev/#organization",
  "name": "PromptConduit",
  "url": "https://promptconduit.dev",
  "logo": "https://promptconduit.dev/favicon.svg",
  "email": "hello@promptconduit.dev",
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer support",
    "email": "hello@promptconduit.dev",
    "url": "https://promptconduit.dev/about"
  },
  "sameAs": [
    "https://github.com/promptconduit/cli",
    "https://github.com/promptconduit/editor-extension",
    "https://twitter.com/promptconduit"
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://promptconduit.dev/"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Docs",
      "item": "https://promptconduit.dev/docs"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Quickstart",
      "item": "https://promptconduit.dev/docs/quick-start"
    }
  ]
}
```
