For the complete documentation index optimized for AI agents, see llms.txt.Initialize a v2 Helix project. Creates
helix.toml, a .helix/ workspace directory, a .gitignore entry, and — for local projects — an examples/request.json scaffold.
Usage
local and enterprise.
Available sub-commands
| Sub-command | Description |
|---|---|
local | Initialize a local v2 development project. |
enterprise | Initialize a Helix Cloud project linked to a cluster. |
Top-level flags
| Flag | Type | Description | Default |
|---|---|---|---|
-p, --path | Path | Project directory to initialize. | Current directory |
--skills | Boolean | Install the Helix agent skills + docs MCP (the install you’d otherwise be prompted for). | Prompted in a TTY |
--no-skills | Boolean | Skip installing the Helix agent skills + docs MCP. | Prompted in a TTY |
--skills / --no-skills are accepted either before or after the subcommand — both helix init --no-skills local and helix init local --no-skills work. They are mutually exclusive. When neither is given, an interactive run prompts you and a non-interactive run skips the install. To install or refresh the skills later, use helix skills.helix init local
| Flag | Type | Description | Default |
|---|---|---|---|
-n, --name | String | Local instance name. | dev |
--port | Number | Host port for the local gateway. The container always listens on 8080 internally. | 6969 |
--disk | Boolean | Persist local data with on-disk storage backed by a CLI-managed MinIO volume. | false |
helix init cloud
| Flag | Type | Required | Description | Default |
|---|---|---|---|---|
-n, --name | String | No | Helix Cloud instance name. | production |
--cluster-id | String | Yes | Helix Cloud cluster ID. Find one with helix cluster list. | — |
--gateway-url | URL | No | Runtime gateway URL for dynamic queries. If omitted, run helix sync after init to fetch it. | — |
helix init cloud requires Helix Cloud authentication. Run helix auth login first.
What helix init produces
helix.toml— project configuration with one[local.<name>]or[enterprise.<name>]instance..helix/— CLI-managed workspace state (ignored from git)..gitignore— entries appended for.helix/,target/, and*.log.examples/request.json(local only) — a runnable read request you can send withhelix query: