# Getting Started

Fluidd requires three components to run:

- **[Klipper](<https://www.klipper3d.org/>)** — the printer firmware
- **[Moonraker](<https://moonraker.readthedocs.io/>)** — the API server that bridges Klipper with web interfaces
- **Fluidd** — the web UI you're reading about

The easiest way to install all three is with KIAUH.

## KIAUH

[KIAUH](<https://github.com/dw-0/kiauh>) (Klipper Installation And Update Helper) is the recommended way to install Fluidd. It handles Klipper, Moonraker, and Fluidd installation in one tool, and makes updates simple.

KIAUH also supports installing [Kalico](<https://docs.kalico.gg>) as an alternative firmware for advanced users.

[View on GitHub](<https://github.com/dw-0/kiauh>)

## Docker

Fluidd can be hosted with Docker — useful for running a single Fluidd instance that connects to multiple printers.

There are two images available:

- [**fluidd**](<https://github.com/fluidd-core/fluidd/pkgs/container/fluidd>) — serves on port 80
- [**fluidd-unprivileged**](<https://github.com/fluidd-core/fluidd/pkgs/container/fluidd-unprivileged>) — serves on port 8080 (for environments requiring unprivileged containers)

Both are updated on each release and each commit. Available tags:

- `latest` — most recent release
- `v*.*.*` — specific release
- `latest-master` / `latest-develop` — latest commit on that branch
- `sha-<hash>` — specific commit

[View on GitHub Container registry](<https://github.com/fluidd-core/fluidd/pkgs/container/fluidd>)

Both images are built on the `alpine-slim` NGINX variants. The listen port can be overridden at runtime with the `PORT` environment variable:

```bash
docker run -e PORT=8081 -p 8081:8081 ghcr.io/fluidd-core/fluidd
```

The bundled health check (below) automatically polls whichever port `PORT` is set to, so overriding it keeps the health check working.

### Health Check

Both images ship a Docker `HEALTHCHECK` that polls `/healthz` on the image's own port, so `docker ps` reports the container as `healthy` once NGINX is serving:

```bash
docker inspect --format '{{.State.Health.Status}}' fluidd
```

With Docker Compose, other services can wait for it:

```yaml
depends_on:
  fluidd:
    condition: service_healthy
```

The endpoint is a plain `200 ok` response and is excluded from the access log. The check runs every 10 seconds and can be overridden per-deployment with the `healthcheck` key in Compose.

## Manual Installation

Every Fluidd release includes a pre-built `fluidd.zip` on the [GitHub Releases](<https://github.com/fluidd-core/fluidd/releases>) page. Extract it and serve with any HTTP server (e.g. NGINX).

To build from source (requires Git, plus Node.js v22.13 or newer to run the [pnpm](<https://pnpm.io/>) installer — pnpm then downloads the Node.js version Fluidd is built with):

1. `npx get-pnpm` (installs pnpm; run it **before** entering the clone, as `npm` refuses to run inside a project that pins a different package manager)
2. `git clone https://github.com/fluidd-core/fluidd.git`
3. `cd fluidd`
4. `pnpm i --frozen-lockfile`
5. `pnpm run build`

The output is written to `dist/`.

> [!NOTE]
>
> **Raspberry Pi**
>
> Building on a Raspberry Pi is not supported due to hardware limitations. Build on a PC and copy `dist/` to your Pi using `scp` or similar.

## fluidd.xyz

Don't want to install Fluidd locally? You can use the hosted version at [https://app.fluidd.xyz](<https://app.fluidd.xyz>). Fluidd is downloaded to your browser and communicates directly with your printer on your local network — no data leaves your network unless you configure it to.

To connect, add `*://app.fluidd.xyz` to the `cors_domains` section of your `moonraker.conf`. See the [Moonraker example configuration](<https://docs.fluidd.xyz/configuration/#example-configuration>).

## FluiddPI

> [!WARNING]
>
> **FluiddPI is not recommended**
>
> FluiddPI is not under active maintenance and we've had reports from users finding issues while using it. We recommend using [KIAUH](<#kiauh>) to install Fluidd instead.

FluiddPI is a Raspberry Pi OS Lite image pre-configured with Klipper, Moonraker, and Fluidd.

[View on GitHub](<https://github.com/fluidd-core/FluiddPi>)

### Download

Download the latest release of [FluiddPI](<https://github.com/fluidd-core/FluiddPi/releases/latest>).

### Flash

1. Use a quality SD card from a reputable brand (Sandisk, Samsung, Kingston).
2. The flashing process will **wipe your SD card**.

For Windows: [Balena Etcher](<https://www.balena.io/etcher/>). For Linux/macOS: [Raspberry Pi Imager](<https://www.raspberrypi.org/software/>).

### Configure

1. Edit `fluiddpi-wpa-supplicant.txt` on the root of the flashed card to configure Wi-Fi. Do not use WordPad (Windows) or TextEdit (macOS) — use Notepad++, VSCode, or similar.
2. If you have connectivity issues, try a wired ethernet connection.
3. Boot the Pi from the card.
4. SSH into the Pi at `fluiddpi.local` (or its IP address if Bonjour is unavailable).
5. Default credentials: `pi` / `raspberry`
6. Run `sudo raspi-config` to change your password, timezone, locale, and optionally the hostname.
7. Access Fluidd at `http://fluiddpi.local` (or `http://yourhostname.local` if you changed the hostname).
