create and pass the directory directly.
Arguments
| Argument | Description |
|---|---|
directory | Target directory for the project. Prompted interactively if omitted. |
Options
| Flag | Default | Description |
|---|---|---|
-y, --yes | false | Skip all prompts and use defaults (Vercel gateway, GitHub auth, no extra features). |
--no-install | Not applicable | Skip automatic dependency installation. |
--package-manager <bun|npm|pnpm|yarn> | Not applicable | Override which package manager the CLI uses for install + next steps. |
--from-git <url> | Not applicable | Clone from a git repository instead of the built-in template. |
--storage-provider <provider> | Not applicable | Select a Files SDK provider such as vercel-blob, s3, r2, or gcs. |
--storage-config <json> | Not applicable | Pass non-secret JSON options to the selected adapter. Credentials use env vars. |
Interactive prompts
When run without--yes, the CLI walks you through:
- Project name: the target directory name
- Gateway: the AI gateway to use (e.g. Vercel AI Gateway, OpenRouter)
- Features: optional features to enable (e.g. web search, image generation)
- File storage: provider and non-secret adapter options when selected features store files
- Auth providers: authentication method (e.g. GitHub OAuth)
- Electron desktop app: optionally adds an
electron/subfolder to package the app as a native desktop app (see Desktop) - Install dependencies: whether to run the package manager automatically
pnpm, yarn, and bun when launched from those tools. If you launch through npx/npm, it defaults the generated app to npm unless you pass --package-manager.
What gets generated
Thecreate command copies the built-in template and writes a tailored chat.config.ts with your selections pre-filled:
Examples
Interactive setup (recommended)--storage-config. The generated .env.example and
final CLI checklist show the environment requirements for the selected
provider. See File storage for details.
Full flow after scaffolding