Skip to main content

Quickstart

Complete Example

Default HTTP controller:
Default HTTP boot:

Use When

Use create-hile when starting a new Hile application or workspace.

More Examples

Template choices:
Generated default HTTP shape:

Runtime And Lifecycle Notes

  • Templates use _env, _env.prod, and _gitignore; creation renames them to dotfiles.
  • The CLI prompts for a template and optional dependency installation.
  • The package manager preference is pnpm, then yarn, then npm.

Anti-Patterns

  • Leaving template package versions stale after publishing new Hile packages.
  • Shipping template READMEs copied from unrelated projects.
  • Starting production without running the build command required by the selected template.