CLI Reference
Use the vibe-ui-kit CLI to quickly scaffold templates and add components directly into your project.
Zero Configuration
The CLI automatically detects whether your project uses TypeScript or JavaScript, pnpm, npm, yarn, or bun.
Commands
init
Initialize Vibe UI configurations and tailwind theme setup in your project:
npx vibe-ui-kit@latest initFlags
-y, --yes: Skip confirmation prompts and use default paths (@/components/ui).-c, --cwd <path>: Specify the current working directory.
add
Add individual or multiple components to your project on demand:
npx vibe-ui-kit@latest add button card dialogIf run without component arguments, the CLI opens an interactive multi-select menu:
npx vibe-ui-kit@latest addFlags
-y, --yes: Skip confirmation prompts and overwrite existing files without confirmation.-o, --overwrite: Force overwrite existing component files.-c, --cwd <path>: Working directory location.
vibe.json Config Specification
When npx vibe-ui-kit init runs, it creates a vibe.json configuration file in your project root:
{
"$schema": "https://vibe-ui-kit.vercel.app/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/app/globals.css",
"baseColor": "slate"
},
"aliases": {
"components": "@/components/ui",
"utils": "@/lib/utils"
}
}Contributors
JS
Jenish Sabhadiya