create-vite-ai
v1.0.1
Published
[](https://npmjs.com/package/create-vite-ai)
Readme
create-vite-ai
The ultimate Vite scaffolding tool for AI agents. Built for seamless automation, predictable behavior, and perfect integration with Claude, GPT, and any AI coding assistant.
AI-Optimized: create-vite-ai is designed from the ground up for AI agent workflows. No interactive prompts, deterministic output, clean exit codes.
Why AI Agents Choose create-vite-ai
- Non-Interactive Mode: Works perfectly in automated pipelines - no stdin prompts
- Clean CLI Interface: Predictable arguments, no surprise interactions
- Reliable Exit Codes: Always returns 0 on success, meaningful errors on failure
- Fast Execution: Minimal overhead, instant template generation
- Scriptable: Perfect for AI agents that need to scaffold, test, and iterate
Scaffolding Your First Vite Project
With NPM:
npm create vite-ai@latestWith Yarn:
yarn create vite-aiWith PNPM:
pnpm create vite-aiWith Bun:
bun create vite-aiThen follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue project, run:
# npm 7+, extra double-dash is needed:
npm create vite-ai@latest my-vue-app -- --template vue
# yarn
yarn create vite-ai my-vue-app --template vue
# pnpm
pnpm create vite-ai my-vue-app --template vue
# bun
bun create vite-ai my-vue-appAI Agent Quick Start
The perfect workflow for AI coding assistants:
# 1. Create project
npm create vite-ai@latest my-app -- --template react-ts
# 2. Navigate to project
cd my-app
# 3. Install dependencies
npm install
# 4. Start building!
npm run devAvailable Templates
vanillavanilla-tsvuevue-tsreactreact-tspreactpreact-tslitlit-tssveltesvelte-tssolidsolid-tsqwikqwik-ts
You can use . for the project name to scaffold in the current directory.
Community Templates
create-vite-ai is a tool to quickly start a project from a basic template for popular frameworks. Check out Awesome Vite for community maintained templates that include other tools or target different frameworks.
