Documentation Index
Fetch the complete documentation index at: https://docs.helix-db.com/llms.txt
Use this file to discover all available pages before exploring further.
For the complete documentation index optimized for AI agents, see llms.txt.Run a local v2 instance. By default the container starts in the background and the CLI waits until the local gateway accepts
POST /v1/query requests before returning.
Usage
Arguments
| Argument | Description |
|---|---|
INSTANCE | Local instance name from helix.toml. If omitted, defaults to dev when present, otherwise prompts in a TTY or fails if non-interactive. |
Available flags
| Flag | Type | Description | Default |
|---|---|---|---|
--foreground | Boolean | Run attached and stop the container on Ctrl-C. Useful for streaming startup logs. | false |
--port | Number | Override the host port for this run. The container always listens on 8080 internally. | Value from [local.<instance>] port (default 8080) |
--disk | Boolean | Use on-disk storage backed by a CLI-managed MinIO container for this run. | false |
Behavior
- Pulls
ghcr.io/helixdb/enterprise-dev:latest(or the image/tag set in[local.<instance>]). - Names the container
helix-<project>-<instance>and publishes the configured port to container port8080. - Uses Docker or Podman based on
[project] container_runtimeinhelix.toml. - Default storage is in-memory. Passing
--diskstarts a MinIO sidecar, creates thehelix-dbbucket, and runsenterprise-devwith S3-compatible storage environment variables. - Background mode (
-d,--restart unless-stopped) waits up to ~30 seconds forPOST /v1/queryreadiness and prints the URL and container name when ready. - Foreground mode (
--rm) streams the container’s stdout/stderr until Ctrl-C, then removes the container.
--disk, helix stop removes the Helix and MinIO containers but keeps the persistent local volume. helix prune removes that volume and deletes the persisted local data.
Examples
Related
helix stop— stop a background instancehelix restart— restart a background instancehelix query— send a dynamic query to a running instancehelix logs— view container logs