Skip to content

init

Create a new app from a starter template, or update an existing app to the latest template version.

Terminal window
llamactl init [--template <id>] [--dir <path>] [--force]
llamactl init --update
  • basic-ui: A basic starter workflow with a React Vite UI
  • extraction-review: Extraction Agent with Review UI (Llama Cloud integration; review/correct extracted results)

If omitted, you will be prompted to choose interactively.

  • --update: Update the current app to the latest template version. Ignores other options.
  • --template <id>: Template to use (basic-ui, extraction-review).
  • --dir <path>: Directory to create the new app in. Defaults to the template name.
  • --force: Overwrite the directory if it already exists.
  • Copies the selected template into the target directory using copier
  • initializes a Git repository if git is available
  • Prints next steps to run locally and deploy
  • Interactive flow:
Terminal window
llamactl init
  • Non‑interactive creation:
Terminal window
llamactl init --template basic-ui --dir my-app
  • Overwrite an existing directory:
Terminal window
llamactl init --template basic-ui --dir ./basic-ui --force
  • Update an existing app to the latest template:
Terminal window
llamactl init --update

See also: Getting Started guide.