CLI Reference

The create-stackr CLI is your primary tool for generating new projects.

Create a New Project

Initialize a new project with the interactive wizard:

npx create-stackr@latest [project-name]

Command Options

-t, --template

Skip the interactive prompts and use a predefined configuration:

npx create-stackr@latest my-app --template minimal
npx create-stackr@latest my-app --template full-featured
npx create-stackr@latest my-app -t analytics-focused

--defaults

Use the default configuration (minimal preset with npm) without any prompts:

npx create-stackr@latest my-app --defaults

--verbose

Show detailed output during project generation:

npx create-stackr@latest my-app --verbose

--skip-install

Skip automatic dependency installation after project generation:

npx create-stackr@latest my-app --skip-install

--help

Display help information about available commands and options:

npx create-stackr@latest --help

--version

Display the current version of the CLI:

npx create-stackr@latest --version

Package Managers

The CLI supports multiple package managers. During interactive mode, you can choose between:

• npm (default)
• yarn
• bun

When using --defaults, npm is used automatically.

Interactive Mode

Running the CLI without any options will start the interactive wizard, which guides you through selecting features, integrations, and package manager for your project.