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

# Installation

> Install the canonic CLI via npm, Homebrew, or Docker.

canonic ships as one distributable (CLI + local daemon). Local embeddings are an optional add-on.

<Note>
  Package and image names below show the shape of each install channel; exact names are confirmed per release.
</Note>

<Tabs>
  <Tab title="npm">
    For dev machines:

    ```bash theme={null}
    npm install -g @canonic/cli
    ```
  </Tab>

  <Tab title="Homebrew">
    For macOS / Linux:

    ```bash theme={null}
    brew install canonic
    ```
  </Tab>

  <Tab title="Docker">
    For CI, headless, or air-gapped environments:

    ```bash theme={null}
    docker pull canonic:latest
    ```
  </Tab>
</Tabs>

## Air-gapped install

An **offline / air-gapped install** path (Docker image or vendored tarball, no outbound calls during install) is available for restricted environments.

## Verify

```bash theme={null}
canonic --version
```

## Next steps

<Card title="Quickstart" icon="rocket" href="/quickstart">
  Point canonic at a local database and get your first answer in minutes.
</Card>
