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

# Run the docs locally

> Preview documentation changes locally before contributing

Use this when you’re contributing to the docs: run the site locally to preview your changes before opening a PR.

<Info>
  **Prerequisites:** Node.js 19+ and a clone of the [frozi-lol/docs](https://github.com/frozi-lol/docs) repo.
</Info>

<Steps>
  <Step title="Install the Mintlify CLI">
    ```bash theme={null}
    npm i -g mint
    ```
  </Step>

  <Step title="Start the preview">
    From the repo root (where `docs.json` is), run:

    ```bash theme={null}
    mint dev
    ```

    Open **[http://localhost:3000](http://localhost:3000)** to view the docs. Edits refresh automatically.
  </Step>
</Steps>

## Optional

* **Different port** — `mint dev --port 3333`
* **Check links** — `mint broken-links`
* **Update CLI** — `npm mint update`

## Troubleshooting

* **Port in use** — Mintlify will try the next available port.
* **Strange errors** — Delete `~/.mintlify` and run `mint dev` again.
* **Node / sharp issues** — Use Node 19+ and reinstall: `npm remove -g mint` then `npm i -g mint`.

See the repo [README](https://github.com/frozi-lol/docs) and [CONTRIBUTING](https://github.com/frozi-lol/docs/blob/main/CONTRIBUTING.md) for full contribution steps.
