npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vanko010/v0-cli

v1.0.3

Published

V0-CLI - AI-powered terminal tool for UI development and component generation

Readme

V0-CLI

V0-CLI CI Version License

V0-CLI Screenshot

V0-CLI is an open-source AI-powered terminal tool specifically optimized for UI development and component generation. This fork brings the power of v0.dev's specialized models directly into your terminal, providing the fastest path from your UI ideas to production-ready code.

🚀 Why V0-CLI?

  • 🎨 UI-First: Specialized models (v0-1.5-md, v0-1.5-lg) optimized for component generation
  • ⚡ Lightning Fast: Create React, Vue, Angular components from natural language descriptions
  • 🎯 Multiple AI Models: Access v0.dev, Gemini 2.5 Pro, and other powerful models
  • 🔧 Built-in tools: File operations, shell commands, web fetching, and component scaffolding
  • 🔌 Extensible: MCP (Model Context Protocol) support for custom integrations
  • 💻 Terminal-first: Designed for developers who live in the command line
  • 🛡️ Open source: Apache 2.0 licensed

📦 Installation

Quick Install

Run instantly with npx

# Using npx (no installation required)
npx @vanko010/v0-cli

Install globally with npm

npm install -g @vanko010/v0-cli

Install globally with Homebrew (macOS/Linux)

# Package available via npm only
npm install -g @vanko010/v0-cli

Note: V0-CLI is a specialized fork optimized for UI development and component generation.

After Installation

Once installed globally, you can use the v0-cli command from anywhere:

# Start V0-CLI in any directory
v0-cli

# Or use the full package with npx
npx @vanko010/v0-cli

System Requirements

  • Node.js version 20 or higher
  • macOS, Linux, or Windows

Release Information

This package follows semantic versioning. Check Releases for version history.

Latest Stable Version

npm install -g @vanko010/v0-cli@latest

Development Version

For the latest features (may be unstable):

npm install -g @vanko010/v0-cli@next

📋 Key Features

UI Component Generation

  • React Components: Generate modern React components with hooks, TypeScript, and best practices
  • Vue Components: Create Vue 3 components with Composition API and TypeScript support
  • Angular Components: Build Angular components with proper decorators and lifecycle methods
  • Framework Agnostic: Generate vanilla JavaScript/TypeScript components for any framework

Advanced UI Development

  • Responsive Design: Components generated with Tailwind CSS and responsive breakpoints
  • Accessibility First: ARIA labels, keyboard navigation, and screen reader support built-in
  • Modern Patterns: Hooks, composables, reactive patterns, and state management integration
  • Design System: Generate components that follow your existing design tokens and patterns

Code Understanding & Generation

  • Query and edit large codebases with UI-focused intelligence
  • Generate complete applications from wireframes, mockups, or natural language descriptions
  • Debug frontend issues and troubleshoot styling problems with AI assistance

Automation & Integration

  • Automate component scaffolding and boilerplate generation
  • Use MCP servers to connect with design tools and component libraries
  • Run non-interactively in scripts for automated UI generation workflows

Advanced Capabilities

  • Model Switching: Choose between v0-1.5-md (fast) and v0-1.5-lg (advanced) based on complexity
  • Context Awareness: Understand your existing codebase structure and style patterns
  • Conversation checkpointing to save and resume complex UI development sessions
  • Custom context files (GEMINI.md) to tailor behavior for your projects

GitHub Integration

Integrate V0-CLI directly into your GitHub workflows:

  • Pull Request Reviews: Automated code review with contextual feedback and suggestions
  • Issue Triage: Automated labeling and prioritization of GitHub issues based on content analysis
  • On-demand Assistance: Mention @gemini-cli in issues and pull requests for help with debugging, explanations, or task delegation
  • Custom Workflows: Build automated, scheduled and on-demand workflows tailored to your team's needs

🔐 Authentication Options

Choose the authentication method that best fits your needs:

Option 1: V0.dev API Key (Recommended for V0-CLI)

✨ Best for: UI developers building components and web applications

Benefits:

  • UI-Optimized Models: v0-1.5-md (fast), v0-1.5-lg (advanced) specialized for component generation
  • Framework Support: React, Vue, Angular, and vanilla JavaScript/TypeScript
  • Component Libraries: Optimized for Tailwind CSS, shadcn/ui, and modern UI patterns
  • Responsive & Accessible: Generated components follow best practices
# Get your key from https://v0.dev/settings
export V0_API_KEY="YOUR_API_KEY"
v0-cli

Option 2: OAuth login (Using your Google Account)

✨ Best for: Individual developers and those with Gemini Code Assist License

Benefits:

  • Free tier: 60 requests/min and 1,000 requests/day
  • Gemini 2.5 Pro with 1M token context window
  • No API key management - just sign in with your Google account
  • Automatic updates to latest models
# Start V0-CLI and choose OAuth authentication
v0-cli

Option 3: Gemini API Key

✨ Best for: Developers who need specific model control or paid tier access

Benefits:

  • Free tier: 100 requests/day with Gemini 2.5 Pro
  • Model selection: Choose specific Gemini models
  • Usage-based billing: Upgrade for higher limits when needed
# Get your key from https://aistudio.google.com/apikey
export GEMINI_API_KEY="YOUR_API_KEY"
v0-cli

Option 4: Vertex AI

✨ Best for: Enterprise teams and production workloads

Benefits:

  • Enterprise features: Advanced security and compliance
  • Scalable: Higher rate limits with billing account
  • Integration: Works with existing Google Cloud infrastructure
# Get your key from Google Cloud Console
export GOOGLE_API_KEY="YOUR_API_KEY"
export GOOGLE_GENAI_USE_VERTEXAI=true
v0-cli

For Google Workspace accounts and other authentication methods, see the authentication guide.

🚀 Getting Started

Basic Usage

Start V0-CLI in current directory

v0-cli

Include multiple directories for context

v0-cli --include-directories ../components,../styles

Use specific v0.dev model

v0-cli -m v0-1.5-lg  # For complex UI components
v0-cli -m v0-1.5-md  # For simple, fast generation

Non-interactive mode for automation

v0-cli -p "Generate a responsive navigation component with dark mode support"

Quick Examples

Generate a React component

cd my-react-app/
export V0_API_KEY="your-key"
v0-cli
> Create a modern product card component with image, title, price, and add to cart button using Tailwind CSS

Build a complete page

cd frontend-project/
v0-cli
> Generate a landing page with hero section, features grid, testimonials, and footer

Convert design to code

v0-cli
> I have a Figma design for a dashboard. Create the sidebar navigation component with collapsible menu items

Add responsive behavior

v0-cli
> Make this table component responsive with mobile-first design and horizontal scrolling on small screens

Switch models dynamically

# Switch to large model for complex components
/model v0-1.5-lg

# Switch to medium model for faster generation
/model v0-1.5-md

# Check current model
/model

📚 Documentation

Getting Started

Core Features

Tools & Extensions

Advanced Topics

Configuration & Customization

Troubleshooting & Support

  • Troubleshooting Guide - Common issues and solutions
  • FAQ - Quick answers
  • Use /bug command to report issues directly from the CLI

Using MCP Servers

Configure MCP servers in ~/.gemini/settings.json to extend Gemini CLI with custom tools:

> @github List my open pull requests
> @slack Send a summary of today's commits to #dev channel
> @database Run a query to find inactive users

See the MCP Server Integration guide for setup instructions.

🤝 Contributing

We welcome contributions! V0-CLI is built on the open-source Gemini CLI (Apache 2.0), and we encourage the community to:

  • Report UI generation bugs and suggest features
  • Improve documentation for component generation workflows
  • Submit code improvements for better v0.dev integration
  • Share your component templates and UI patterns
  • Create MCP servers for design tools integration

See our Contributing Guide for development setup, coding standards, and how to submit pull requests.

Check our Official Roadmap for planned features and priorities.

📖 Resources

Uninstall

See the Uninstall Guide for removal instructions.

📄 Legal