<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT.
Source of truth: the cobra command definitions in cmd/axiom/cmd/.
Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->
axiom init
Initialize a new Axiom package
Initialize a new Axiom package.
Creates a subdirectory named after the package (the part after the last "/"), then writes axiom.yaml, the standard directory layout, and a .gitignore.
axiom init axiom-official/axiom-conv-ai --language python
# Creates ./axiom-conv-ai/ with axiom.yaml, messages/, nodes/, gen/For Go packages, also generates a go.mod file.
Usage
axiom init <name> [flags]Flags
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--description | string | Package description (written to axiom.yaml) | ||
--help | -h | bool | help for init | |
--install | bool | After scaffolding, run the project-local dependency install for the language (never system package managers) | ||
--language | -l | string | go | package language (go | python | rust | java | typescript | csharp) |
--no-agent-guide | bool | Skip writing the CLAUDE.md agent-authoring guide into the package | ||
--no-example-comment | bool | Omit the commented example node block from axiom.yaml (useful for scripted/agent use) | ||
--version | string | 0.1.0 | Initial package version |
See also
- axiom — Axiom CLI — build and push node packages
- Guide: Create a node (Python)
- Guide: Create a node (Go)
- Guide: Create a node (TypeScript)
- Guide: Create a node (Rust)
- Guide: Create a node (Java)
- Guide: Create a node (C#)
Related