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

# Local Development

> Preview changes locally to update your docs

<Info>
  **Prerequisite**: Node.js (version 19 or higher)
</Info>

## Quick Start

1. Install Mintlify CLI:

<CodeGroup>
  ```bash npm
  npm i -g mintlify
  ```

  ```bash yarn
  yarn global add mintlify
  ```
</CodeGroup>

2. Go to your docs directory and run:

```bash
mintlify dev
```

Your docs will be available at `http://localhost:3000`

## Common Tasks

### Change Port

Use `--port` flag to run on a different port:

```bash
mintlify dev --port 3333
```

### Update Mintlify

Keep your CLI up to date with:

<CodeGroup>
  ```bash npm
  npm i -g mintlify@latest
  ```

  ```bash yarn
  yarn global upgrade mintlify
  ```
</CodeGroup>

### Check for Broken Links

```bash
mintlify broken-links
```

## Troubleshooting

<AccordionGroup>
  <Accordion title="Sharp Module Error (darwin-arm64)">
    1. Remove mintlify: `npm remove -g mintlify`
    2. Upgrade to Node v19+
    3. Reinstall: `npm install -g mintlify`
  </Accordion>

  <Accordion title="Unknown Errors">
    Delete \~/.mintlify folder and run `mintlify dev` again.
  </Accordion>
</AccordionGroup>
