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

# Quickstart

> Install the CLI and run your first command in under a minute

# Quickstart

## 1. Install

You need **Node.js 18** or later.

<CodeGroup>
  ```bash npm theme={null}
  npm install -g dealmachine
  ```

  ```bash yarn theme={null}
  yarn global add dealmachine
  ```

  ```bash pnpm theme={null}
  pnpm add -g dealmachine
  ```
</CodeGroup>

Or run without installing:

```bash theme={null}
npx dealmachine --help
```

## 2. Log In

```bash theme={null}
dm login
```

A code appears in your terminal. Your browser opens — sign in with your DealMachine account, enter the code, and click **Authorize**. That's it.

```
To complete authentication:

  1. Visit: https://dm-next.dealmachine.com/device/authorize
  2. Enter code: BCDF-GHJK

Opening browser...
Waiting for authorization... done

Successfully authenticated!

  Organization: My Company
```

<Note>
  If you already have an API key, you can skip the browser flow: `dm login --key dm_sk_live_xxxxx`
</Note>

<Tip>
  Need an API key before using the CLI? Run `dm signup developer@example.com --login`,
  adding `--phone-number +15551234567` if the API environment requires phone numbers,
  then `dm plans`, then `dm checkout --price-id price_xxx_monthly`.
</Tip>

## 3. Run Your First Command

Look up a property:

```bash theme={null}
dm enrich address "123 Main St, Austin, TX 78704"
```

Check your account:

```bash theme={null}
dm whoami
```

See your credit usage:

```bash theme={null}
dm usage
```

## 4. Try More

Search for people by name:

```bash theme={null}
dm enrich name "David Oster" --state MO
```

Get raw JSON output (useful for scripts and integrations):

```bash theme={null}
dm enrich address "123 Main St, Austin, TX 78704" --json
```

Validate and standardize an address:

```bash theme={null}
dm addresses validate "456 Oak Ave, Dallas, TX"
```

See the full [command reference](/cli/commands) for everything you can do.
