Global Options
These options are available for all commands:Project Management
helix init
Initialize a new Helix project with configuration and structure.
Note that
helix init with no arguments defaults to making a local instance called dev.helix add
Add a new instance to an existing Helix project.
helix migrate
Migrate a v1 Helix project to v2 format.
Validation & Compilation
helix check
Validate project configuration and query syntax.
Name of the instance to check (defaults to all instances)
helix compile
Compile project queries into executable format.
helix build
Build and prepare an instance for deployment.
What it does:
- Validates configuration and queries
- Compiles queries
- Generates Docker configuration files
- Prepares the instance workspace
The instance to build.
Deployment & Instance Management
helix push
Deploy or update a running instance.
What it does:
- Builds the instance if needed
- Creates/updates Docker container for local instances
- Pushes to cloud provider for remote instances
- Starts the instance
The instance to deploy.
helix pull
🚧 COMING SOON 🚧
helix start
Start a stopped instance without rebuilding.
The instance to start.
helix stop
Stop a running instance.
The instance to stop.
helix status
Show the status of all instances in the project.
Backup & Maintenance
helix backup
Create a backup of an instance’s database files.
What it does:
- Creates an atomic snapshot of the LMDB database
- Copies
data.mdbandlock.mdbto the backup directory - Warns if backup size exceeds 10GB and prompts for confirmation
The instance to backup.
helix prune
Remove unused containers, images, and workspace files.
What it removes:
- Stopped containers
- Unused Docker images
- Workspace files
- Note: Preserves data volumes
The instance to prune.
helix delete
Permanently delete an instance and all its data.
What it removes:
- Container and images
- All data volumes
- Workspace files
- Configuration entries
The instance to delete.
Authentication & Cloud
helix auth
Manage authentication for Helix Cloud.
The subcommand to run.
Configuration & Settings
helix metrics
Configure telemetry and usage metrics collection.
The subcommand to run.
helix update
Update the Helix CLI to the latest version.
The options to run.
Logs
helix logs
View logs for a running instance. Opens an interactive terminal UI by default, or use flags for non-interactive modes.
Requirements:
- For local instances: Docker or Podman must be running
- For cloud instances: Must be authenticated via
helix auth login
The instance to view logs for. If omitted, an interactive selection prompt will appear.
Time Range Limits:
- Maximum range duration is 1 hour
- Start time must be before end time
Interactive TUI Mode
When run without flags,helix logs opens an interactive terminal UI with vim-style navigation:
Navigation:
Mode Switching:
Range Mode Presets:
- Last 15 minutes
- Last 30 minutes
- Last hour
- Custom range (date/time picker)
Dashboard
helix dashboard
Launch the Helix Dashboard in a container to visualize and interact with your database.
Requirements:
- Docker or Podman must be installed and running
build_modemust be set todevin yourhelix.tomlconfiguration
The subcommand to run.
- GitHub Issues: https://github.com/HelixDB/helix-db/issues
- Discord: https://discord.gg/2stgMPr5BD
- Email: founders@helix-db.com
Next Steps
Local Development
Learn how to develop locally
Helix Cloud
Learn how to deploy to Helix Cloud
Fly.io
Learn how to deploy to Fly.io
AWS ECR
Learn how to deploy to AWS ECR