Vuetify CLI
The Vuetify CLI is a tooling ecosystem for scaffolding and managing Vuetify projects. It provides interactive project generation, intelligent dependency updates, and codebase analysis.
Packages
| Package | Binary | Purpose |
|---|---|---|
| @vuetify/cli↗ | vuetify | Full CLI with all commands |
| create-vuetify0↗ | create-vuetify0 | Scaffold v0 projects |
Installation
Install the CLI globally to access all commands:
pnpm add -g @vuetify/clinpm install -g @vuetify/cliyarn global add @vuetify/clibun add -g @vuetify/cliOr run commands without installing using dlx/npx:
pnpm dlx @vuetify/cli <command>npx @vuetify/cli <command>yarn dlx @vuetify/cli <command>bunx @vuetify/cli <command>Quick Start
Create a new v0 project with the interactive wizard:
vuetify initOr use the standalone scaffolding package without installing the CLI:
pnpm create vuetify0npm create vuetify0yarn create vuetify0bun create vuetify0Commands
| Command | Description |
|---|---|
vuetify init | Initialize a new project |
vuetify add eslint | Add ESLint with Vuetify config |
vuetify add mcp | Add MCP server configuration |
vuetify update | Update Vuetify packages |
vuetify docs | Open version-specific documentation |
vuetify analyze | Scan codebase for usage patterns |
vuetify upgrade | Self-upgrade the CLI |
init
Initialize a new project (wrapper around create-vuetify0):
pnpm dlx @vuetify/cli init my-appnpx @vuetify/cli init my-appyarn dlx @vuetify/cli init my-appbunx @vuetify/cli init my-appadd
Add integrations to existing projects:
# Add ESLint with Vuetify config
pnpm dlx @vuetify/cli add eslint
# Add MCP server configuration
pnpm dlx @vuetify/cli add mcp# Add ESLint with Vuetify config
npx @vuetify/cli add eslint
# Add MCP server configuration
npx @vuetify/cli add mcp# Add ESLint with Vuetify config
yarn dlx @vuetify/cli add eslint
# Add MCP server configuration
yarn dlx @vuetify/cli add mcp# Add ESLint with Vuetify config
bunx @vuetify/cli add eslint
# Add MCP server configuration
bunx @vuetify/cli add mcp The add mcp command configures Vuetify MCP for your IDE automatically.
update
Update all Vuetify packages to their latest versions:
# Update to latest stable
pnpm dlx @vuetify/cli update
# Update to nightly builds
pnpm dlx @vuetify/cli update --nightlynpx @vuetify/cli update
npx @vuetify/cli update --nightlyyarn dlx @vuetify/cli update
yarn dlx @vuetify/cli update --nightlybunx @vuetify/cli update
bunx @vuetify/cli update --nightlyThe update command auto-detects and updates:
vuetify@vuetify/*packagesvuetify-nuxt-module@nuxtjs/vuetifyvite-plugin-vuetifyeslint-plugin-vuetifyeslint-config-vuetify
docs
Open version-specific Vuetify documentation:
pnpm dlx @vuetify/cli docsnpx @vuetify/cli docsyarn dlx @vuetify/cli docsbunx @vuetify/cli docsThe CLI auto-detects your installed Vuetify version and opens the correct documentation site.
analyze
Scan your codebase for Vuetify usage patterns:
# Console output
pnpm dlx @vuetify/cli analyze
# JSON output for tooling
pnpm dlx @vuetify/cli analyze --reporter jsonnpx @vuetify/cli analyze
npx @vuetify/cli analyze --reporter jsonyarn dlx @vuetify/cli analyze
yarn dlx @vuetify/cli analyze --reporter jsonbunx @vuetify/cli analyze
bunx @vuetify/cli analyze --reporter jsonThe analyzer scans your project and detects all imports from @vuetify/v0:
Components —
VBtn,VCard,VDataTable, etc.Composables —
useDisplay,useTheme,useFilter, etc.Plugins —
createVuetify,createIconsPlugin, etc.Utilities and constants
Custom Documentation URL
After analyzing your project, the CLI generates a personalized documentation URL:
https://0.vuetifyjs.com/?features=Dialog,Avatar,useDisplay,...This URL filters the v0 documentation to show only the features you’re actually using, giving you a focused, clutter-free reference tailored to your project. Share this URL with your team to onboard developers faster.
JSON Output
Use --reporter json to integrate with CI/CD pipelines or custom tooling:
vuetify analyze --reporter json --output report.jsonupgrade
Self-upgrade the CLI to the latest version:
pnpm dlx @vuetify/cli upgradenpx @vuetify/cli upgradeyarn dlx @vuetify/cli upgradebunx @vuetify/cli upgradeScaffolding Options
The interactive wizard guides you through project configuration:
| Step | Options |
|---|---|
| Project Name | Your project directory name |
| Platform | Vue↗ + Vite↗, Nuxt↗ |
| CSS Framework | UnoCSS↗, Tailwind↗, None |
| TypeScript | Yes, No |
| Router (Vue only) | Vue Router↗, File-based, None |
| Features | ESLint, Pinia↗, i18n↗, MCP |
Platforms
CSS Frameworks
Router Options (Vue only)
| Option | Description |
|---|---|
| Vue Router↗ | Standard routing |
| File-based | Auto-generated routes from file structure |
| None | No routing |
Features
| Feature | Description |
|---|---|
| ESLint | Vuetify ESLint config↗ |
| Pinia↗ | State management |
| i18n↗ | Internationalization |
| MCP | Vuetify MCP server config |
Non-Interactive Mode
For CI/CD pipelines and automation, pass arguments directly:
pnpm create vuetify0 my-app \
--platform=vue \
--css=unocss \
--router=router \
--features=eslint,pinia \
--installnpm create vuetify0 my-app -- \
--platform=vue \
--css=unocss \
--router=router \
--features=eslint,pinia \
--installyarn create vuetify0 my-app \
--platform=vue \
--css=unocss \
--router=router \
--features=eslint,pinia \
--installbun create vuetify0 my-app \
--platform=vue \
--css=unocss \
--router=router \
--features=eslint,pinia \
--installAll Arguments
| Argument | Values | Description |
|---|---|---|
--platform | vue, nuxt | Target platform |
--css | unocss, tailwindcss, none | CSS framework |
--no-typescript | flag | Use JavaScript instead of TypeScript |
--router | router, file-router, none | Router type (Vue only) |
--features | eslint, pinia, i18n, mcp | Features to include (comma-separated) |
--install | flag | Auto-install dependencies |
--force | flag | Overwrite existing directory |
The --force flag will overwrite existing files without confirmation.