Official Generators

Supported official generators and their commands.

Official Generators

Create Preset passes the project name to the selected official CLI, which handles configuration and dependency installation.

Supported generators

The table shows the pnpm commands:

Preset--from IDPackage manager command
Official Vue Startervuepnpm create vue <project>
Nuxtnuxtpnpm create nuxt <project>
Official Vite CLIvitepnpm create vite <project>
Official Next.js Starternext-apppnpm create next-app <project>
Official React Routerreact-routerpnpm create react-router <project>
Official Astro Starterastropnpm create astro <project>
Official Expo Appexpo-apppnpm create expo-app <project>
Official SvelteKit Startersveltepnpm dlx sv create <project>

<project> is replaced with the supplied project name.

For SvelteKit, use --from svelte; the generator package it launches is sv. Run preset --list to inspect the available IDs, including private presets.

Choose a package manager

Use --package-manager to select pnpm, npm, Yarn, or Bun. For example, create a Next.js project with pnpm:

Bash
preset init dashboard --from next-app --package-manager pnpm

This selects the package manager that launches the generator. Its prompts, warnings, and update notices appear directly in the terminal.

Without --package-manager, Create Preset detects the package manager from the current npm user agent and falls back to npm. Use --dry-run to inspect the selected command without launching it:

Bash
preset init dashboard --from next-app --package-manager pnpm --dry-run