# Quick start

Get your first synthetic record in under two minutes using the developer CLI.

## Step 1: Install the CLI

```bash
curl -fsSL https://simdata.interoperabilitypro.com/install.sh | sh
simhealth login
simhealth projects use default
simhealth sample person --count 1 --seed 1842
```

> [!NOTE]
> `simhealth login` automatically opens your default browser to authorize the terminal session. For headless environments or SSH terminals, pass `--no-browser` to use the RFC 8628 device grant.

Windows users can install using PowerShell:

```powershell
irm https://simdata.interoperabilitypro.com/install.ps1 | iex
simhealth login
simhealth projects use default
simhealth sample person --count 1 --seed 1842
```

## Step 2: Choose a project workspace

`simhealth projects use default` selects the default starter dictionary. You can create an isolated workspace for your domain:

```bash
simhealth projects create pest-control
simhealth projects use pest-control
```

Edit your project's Sets, Records, Distributions, and Sequences at `/projects/{project_id}/dictionary`.

## Step 3: Test deterministic replay

Run the sample command twice with the exact same seed. Because SimHealth's PRNG is deterministic, the output is byte-identical:

```bash
simhealth sample person --count 1 --seed 1842
```

> [!TIP]
> Use seeds in CI pipelines to produce reproducible test fixtures. When testing negative cases or rare conditions, record the seed so any teammate can reproduce the exact scenario.

## Step 4: Stream high-volume datasets

JSON is the default format for interactive terminal exploration. For bulk ETL ingestion, switch to Avro or NDJSON:

```bash
# Stream 100,000 records to Avro container file
simhealth sample person --count 100000 --seed 1842 --format avro > persons.avro

# Stream to NDJSON and pipe to jq
simhealth sample person --count 500 --seed 1842 --format ndjson | jq .
```

## Next steps

- Explore [Seeded Reproducibility](sampling/reproducibility.md) to understand state derivation.
- Review the [Catalog Specification](catalog/specification.md) to author custom dictionary schemas.
- Learn about [Wire Formats & Streaming](formats/wire-formats.md) for data pipelines.
- Integrate machine clients with the [Random records API](api/random.md).
