# Quickstart

<Steps>
  <Step title="Install">
    ```bash
    curl -fsSL https://selltraces.com/selltraces/install | bash
    ```

    Downloads the prebuilt binary for your platform, installs it to
    `~/.selltraces/bin`, and adds it to your PATH. (No package manager? See
    [Installation](/cli/installation) for the npx/npm options.)
  </Step>

  <Step title="First run">
    ```bash
    selltraces
    ```

    This links your machine, discovers local sources, lets you approve what can
    be inspected locally, previews the first upload, and asks before any trace
    content leaves your computer.
  </Step>

  <Step title="Come back later">
    ```bash
    selltraces upload
    ```

    This scans approved sources, shows new traces and pending projects, and
    uploads only after explicit confirmation.
  </Step>

  <Step title="Approve the browser login">
    The CLI prints a short verification URL, a user code, and a complete approval link. Sign in at the link and approve the code.

    For SSH or headless terminals, run:

    ```bash
    selltraces login --no-browser
    ```
  </Step>

  <Step title="Preview before uploading">
    ```bash
    selltraces upload --dry-run
    ```

    Preview output includes accepted traces, skipped traces, skipped reasons, local redaction count, source breakdown, upload chunks, and preliminary value.
  </Step>

  <Step title="Inspect or fix local state">
    ```bash
    selltraces status
    selltraces policy
    selltraces doctor
    ```

    `status` is read-only state, `policy` edits sources/projects/blocked terms,
    and `doctor` diagnoses auth, sources, and the local ledger.
  </Step>
</Steps>

## Common source filters

Limit a command to specific source families:

```bash
selltraces upload --dry-run --only claude,cursor,codex
selltraces upload --only codex
```

Add one-off blocked terms without changing the saved policy:

```bash
selltraces upload --dry-run --exclude-term "private-repo-slug"
selltraces upload --exclude-term "client-name"
```

## Check your local state

```bash
selltraces delta
selltraces delta --json
selltraces status
selltraces status --json
```

`delta` shows cached ledger state before any scan. `status` shows authentication state, API base, detected source locations, saved approved sources, blocked-term count, local ledger count, pending retry-cache size, and local lifetime queued estimate.

<Warning>
Estimates are not earned money. Dashboard estimates and final payouts are authoritative after server-side quality, uniqueness, buyer fit, sale, and payout processing.
</Warning>
