API
create-rezi
create-rezi is the CLI package that scaffolds Rezi apps.
create-rezi is the CLI package that scaffolds Rezi apps.
Usage
npm create rezi my-app
# or
bun create rezi my-appEquivalent direct invocation:
npx create-rezi my-app
# or
bunx create-rezi my-appThe CLI prompts for any missing values when run interactively.
Public templates
Canonical public template names:
minimalcli-toolstarship
minimal is the smallest starter, cli-tool is the routed workflow starter, and starship covers the widest public widget surface.
Use a specific template:
npm create rezi my-app -- --template minimal
npm create rezi my-app -- --template cli-tool
npm create rezi my-app -- --template starship
# Bun
bun create rezi my-app -- --template minimal
bun create rezi my-app -- --template cli-tool
bun create rezi my-app -- --template starshipList templates and highlights:
npm create rezi -- --list-templates
# or
bun create rezi -- --list-templatesFor the public template guide, see: Getting Started -> Create Rezi.
Template dev workflow notes:
- The public templates run
tsx src/main.ts --hsrfornpm run dev/bun run dev. - This enables in-process hot state-preserving reload through
@rezi-ui/nodecreateNodeApp({ hotReload: ... }).
Options
--template, -t <name>: Select a template (minimal,cli-tool,starship).--no-install, --skip-install: Skip dependency installation.--pm, --package-manager <npm|pnpm|yarn|bun>: Choose a package manager.--list-templates, --templates: Print the public template set and highlights.--help, -h: Show help.
Template Smoke Check
Run deterministic template smoke checks (metadata consistency + build/typecheck + test scaffolding expectations):
npm run check:create-rezi-templatesRun the installed smoke path used in CI (scaffold temp project -> local package install -> build -> test):
npm run smoke:create-rezi-templates