MeridianDocsSign in
Getting started

Installation

Run Meridian natively, with Docker, or install the CLI on your PATH — and what each needs.

Whichever way you run Meridian, configure it first:

shell
./meridian setup

It works with only Docker installed too: without Rust, ./meridian runs the CLI inside the Meridian image.

Native

Best while you develop: fast incremental rebuilds and hot reload in the frontend.

shell
./meridian up            # debug build; add --release for an optimised build

Requires Rust 1.88+, Node 22 and pnpm. On first run it installs the frontend dependencies. Data lives in ./data. Press Ctrl-C to stop both processes.

Docker

Nothing but Docker is required.

shell
./meridian up --docker

Or with Compose alone, after creating .env yourself (copy .env.example, or use the builder on Environment variables):

shell
cp .env.example .env     # then add your model key
docker compose up -d --build

The server build fetches Shadow from GitHub. While its repository is private, export a token that can read it first: export GITHUB_TOKEN=$(gh auth token). Compose hands it to the build as a secret; it never reaches the image. ./meridian up --docker does this for you when you're signed in to the GitHub CLI.

The stack is a server container (backend, with a persistent volume) and a web container on port 3000. Only the web port is published; the frontend proxies /api to the backend. Stop it with ./meridian down or docker compose down.

To change the port: MERIDIAN_WEB_PORT=3100 docker compose up -d.

The CLI

./meridian runs the CLI straight from the checkout. To put it on your PATH:

shell
cargo install --path cli
meridian --help

Ports

PortServiceNotes
3000Frontend (docs at /, app at /app)--web-port or MERIDIAN_WEB_PORT
8787Backend APINative only; Docker keeps it internal
8877Shadow on the host (egress proxy, enrolled in your Shadow Hub workspace)On by default with Docker; --no-shadow skips it

Next steps