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:
./meridian setupIt 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.
./meridian up # debug build; add --release for an optimised buildRequires 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.
./meridian up --dockerOr with Compose alone, after creating .env yourself (copy .env.example, or use the builder on Environment variables):
cp .env.example .env # then add your model key
docker compose up -d --buildThe 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:
cargo install --path cli
meridian --helpPorts
| Port | Service | Notes |
|---|---|---|
| 3000 | Frontend (docs at /, app at /app) | --web-port or MERIDIAN_WEB_PORT |
| 8787 | Backend API | Native only; Docker keeps it internal |
| 8877 | Shadow on the host (egress proxy, enrolled in your Shadow Hub workspace) | On by default with Docker; --no-shadow skips it |
