Skip to main content
Build and prepare an instance for deployment. This command:
  1. Validates configuration and queries
  2. Compiles queries
  3. Generates Docker configuration files
  4. Prepares the instance workspace

Usage

helix build [OPTIONS]

Available flags

FlagTypeDescription
-i, --instanceStringThe instance to build. If not provided, an interactive selection prompt will appear
--binStringBuild HelixDB into a binary at the specified directory location

Examples

# Build an instance (interactive selection)
helix build

# Build a specific instance
helix build --instance production

# Build into a binary
helix build --instance dev --bin ./output