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

# Installer

> Install Spaceduck with a single command.

The fastest way to get Spaceduck running. The installer handles Bun, system dependencies, and configuration automatically.

<Tabs>
  <Tab title="macOS / Linux">
    ```bash theme={null}
    curl -fsSL https://spaceduck.ai/install.sh | bash
    ```
  </Tab>

  <Tab title="Windows">
    ```powershell theme={null}
    irm https://spaceduck.ai/install.ps1 | iex
    ```
  </Tab>
</Tabs>

The installer will:

1. Install [Bun](https://bun.sh) if not already present
2. Clone the repository and install dependencies
3. Set up SQLite with extension support
4. Create a default `.env` file
5. Start the gateway

Once complete, open [http://localhost:3000](http://localhost:3000) and head to **Settings** to pick a provider.

<Tip>
  Want to inspect the script before running it?

  ```bash theme={null}
  curl -fsSL https://spaceduck.ai/install.sh -o install.sh
  less install.sh
  bash install.sh
  ```
</Tip>
