Ignition
Reference

CLI Reference

Complete reference for all Ignition CLI commands and options.

ignition <command>

Commands

run

Apply a recipe to target hosts. Use --check for a dry-run.

ignition run <recipe> <targets> [options]
ArgumentDescription
recipePath to recipe .ts file
targetsComma-separated targets: host names, @group, user@host:port (e.g. @web,@db)

inventory

Load and print an inventory file.

ignition inventory [file] [options]
ArgumentDescription
filePath to inventory .ts file

Options:

FlagDefaultDescription
--inventory <file>Path to inventory file (alternative)
--tracefalseAccepted by the CLI, but currently has no effect

init

Scaffold a new Ignition project in the current directory.

ignition init

Creates recipe.ts, inventory.ts, and ignition.config.ts, ensures package.json exists, and adds @grovemotorco/ignition if needed.

dashboard

Start a persistent web dashboard server.

ignition dashboard [options]

Options:

FlagDefaultDescription
--host <host>127.0.0.1Dashboard hostname
--port <port>9090Dashboard port
--max-history <n>10Number of historical runs to retain

schema

Display schema and resource information. Useful for tooling and integrations.

ignition schema <command>

Subcommands:

SubcommandDescription
resourcesList all resource schemas
resource <name>Schema for a single resource
recipeRecipe function schema
inventoryInventory file schema
outputRun output contract schema

Built-in Commands

These also appear in current CLI help because they come from the underlying CLI framework:

CommandDescription
completionsGenerate shell completion script
mcp addRegister Ignition as an MCP server
skills addSync generated skill files

Options for run

Dry-run

FlagDescription
--checkDry-run without applying changes

Connection options

FlagDefaultDescription
--inventory <file>Path to inventory file
--host-key-policy <policy>accept-newstrict, accept-new, or off
--identity <path>Path to SSH private key
--no-multiplexDisable SSH connection multiplexing

Execution options

FlagDefaultDescription
--error-mode <mode>fail-fastfail-fast, fail-at-end, or ignore
--tags <tag>Filter recipes by meta.tags (repeatable)
--var <key=value>Set a variable (repeatable)
--confirmPrompt before applying
--parallelism <n>5Max concurrent hosts
--host-timeout <ms>0Per-host timeout (0 = unlimited)
--resource-timeout <ms>30000Per-resource timeout
--retries <n>2Retry attempts for transient failures
--retry-delay <ms>1000Initial retry backoff

Output options

FlagDefaultDescription
--traceShow SSH commands and detailed output

--tags currently matches the recipe module's export const meta = { tags: [...] }. Repeat the flag instead of comma-joining values:

ignition run deploy.ts @web --tags web --tags deploy

Cache options

FlagDefaultDescription
--cacheCache check results across runs
--cache-ttl <ms>600000Cache entry lifetime
--cache-clearClear cache before running

Dashboard options

FlagDefaultDescription
--dashboard-host <host>127.0.0.1Dashboard server hostname to report to
--dashboard-port <port>9090Dashboard server port to report to

Logging options

FlagDefaultDescription
--log-dir <path>Directory for NDJSON audit logs

Global options

FlagDescription
--filter-output <keys>Filter output by key paths
--format <toon|json|yaml|md|jsonl>Output format
--helpShow help
--llmsPrint the LLM-readable manifest
--mcpStart as an MCP stdio server
--schemaShow JSON Schema for a command
--token-countPrint token count instead of output
--token-limit <n>Limit output to n tokens
--token-offset <n>Skip the first n tokens
--verboseShow the full output envelope
--versionPrint version and exit

Exit codes

CodeMeaning
0Success — command completed successfully
1Failure — resource failures or other CLI/config/runtime errors

Environment variables

VariableDescription
DENO_DEPLOY_TOKENToken for sandbox microVMs
SSH_AUTH_SOCKSSH agent socket (used by system SSH)

On this page