> ## Documentation Index
> Fetch the complete documentation index at: https://edgefinder.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# EdgeFinder Quickstart: Install, Login & First Analysis

> Install the EdgeFinder CLI, authenticate with a magic link, and run your first AI sports analysis in under two minutes with this step-by-step guide.

This page walks you through installing EdgeFinder, logging in, and running your first AI-powered sports analysis. The whole process takes less than two minutes — you'll need Node.js 18 or later and an active EdgeFinder subscription before you start. If you don't have a subscription yet, EdgeFinder will prompt you to sign up during login.

<Steps>
  <Step title="Install the CLI">
    Install EdgeFinder globally using npm:

    ```bash theme={null}
    npm install -g @edgefinder/cli
    ```

    Verify the installation worked:

    ```bash theme={null}
    edgefinder --version
    ```
  </Step>

  <Step title="Log in">
    Run the login command and enter your email when prompted:

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

    EdgeFinder sends a magic link to your inbox. Click it to authenticate — no password required. Your API key is saved automatically to `~/.edgefinder/config.json`.

    If you don't have a subscription yet, EdgeFinder opens the pricing page in your browser so you can sign up before continuing.

    <Note>
      The login session times out after 10 minutes. If the link expires, run `edgefinder login` again.
    </Note>
  </Step>

  <Step title="Run your first analysis">
    Ask EdgeFinder a question in plain English:

    ```bash theme={null}
    edgefinder ask "Who should I bet on tonight?"
    ```

    By default, `ask` targets NFL. Add a flag to switch leagues:

    ```bash theme={null}
    edgefinder ask --nba "Lakers vs Celtics prediction"
    edgefinder ask --mlb "Yankees vs Red Sox prediction"
    ```
  </Step>

  <Step title="Try other commands">
    Explore what else EdgeFinder can do:

    <CodeGroup>
      ```bash Schedule theme={null}
      # Today's NFL schedule
      edgefinder schedule nfl

      # NBA schedule for a specific date
      edgefinder schedule nba --date 2026-02-20
      ```

      ```bash Odds theme={null}
      # NFL Polymarket odds for a specific week
      edgefinder odds nfl --week 12

      # Current NBA odds
      edgefinder odds nba
      ```

      ```bash Standings theme={null}
      # NBA standings
      edgefinder standings nba
      ```

      ```bash Portfolio theme={null}
      # Polymarket portfolio summary
      edgefinder portfolio summary

      # Open positions
      edgefinder portfolio positions
      ```
    </CodeGroup>

    <Tip>
      Add `--json` to any command to get machine-readable output — useful for scripting or piping into other tools.
    </Tip>
  </Step>
</Steps>

## Interactive mode

Run `edgefinder` without any subcommand to start an interactive session. Use `/nfl`, `/nba`, or `/mlb` to switch the active league, then ask follow-up questions without retyping flags.

```bash theme={null}
edgefinder
```

## What's next

<CardGroup cols={2}>
  <Card title="Authentication" icon="key" href="/authentication">
    Set your API key manually or switch accounts.
  </Card>

  <Card title="CLI reference" icon="terminal" href="/cli/ask">
    See every flag and option for each command.
  </Card>

  <Card title="MCP server" icon="robot" href="/mcp/overview">
    Use EdgeFinder as a tool inside Claude or Openclaw.
  </Card>

  <Card title="Plans" icon="credit-card" href="/plans">
    Compare Starter, Pro, and Ultimate subscription tiers.
  </Card>
</CardGroup>
