vercel-cli
Deploy, manage, inspect, and troubleshoot Vercel projects from the command line. Use for Vercel deployments, projects and teams, environment variables, domains and DNS, logs, metrics, usage, activity, alerts, firewall rules, cache, cron jobs, deploy hooks, Edge Config, feature flags, integrations, connectors, Blob storage, microfrontends, rolling releases, custom environments, Sandbox, agent/MCP setup, preview access, local development, or `vercel api` fallback.
Security Assessment
Detected risks:
About vercel-cli
The vercel-cli skill provides a command-line interface for deploying, managing, and developing projects on the Vercel platform. It simplifies interactions with Vercel services, enabling users to handle deployments, project configurations, environment variables, domains, and other infrastructure tasks directly from the terminal. By centralizing these operations into a CLI tool, it reduces the complexity of managing projects across multiple environments, streamlines workflows, and eliminates the need to navigate web interfaces for routine tasks.
Vercel CLI offers a comprehensive set of features, including project linking via `.vercel/project.json` or `.vercel/repo.json` for single projects and monorepos, local development through `vercel dev`, preview and production deployments, and access to metrics, logs, and performance monitoring. It supports advanced project infrastructure operations like rolling releases, cron jobs, cache management, Edge Config, feature flags, microfrontends, and sandbox environments. Additionally, it provides CLI access to integrations, connectors, Blob storage, routing, firewall rules, and automated CI/CD tasks, with the option to fallback to `vercel api` for missing or unavailable commands.
This skill is particularly useful for developers, DevOps engineers, and teams managing web projects or serverless applications on Vercel. It is ideal for single projects, monorepos, and collaborative environments where multiple users interact with deployments and infrastructure. Use cases include local development testing, staging and production deployments, monitoring application performance, configuring project-specific infrastructure, and integrating third-party services. By leveraging vercel-cli, users gain faster iteration cycles, consistent project setups, and more efficient management of Vercel-based applications.
FAQ
How do I link my project to Vercel using the CLI?
Use 'vercel link' for single projects or 'vercel link --repo' for monorepos. Ensure you run the command from the directory containing the '.vercel' folder or a subdirectory of it.
Can I use vercel-cli for local development?
Yes, use 'vercel dev' to run your project locally. This simulates the Vercel environment for development and testing.
What should I do if a CLI command is unavailable or missing output?
Fallback to 'vercel api' for commands that are unavailable or do not provide sufficient output. Refer to the advanced reference documentation for API usage.
Does vercel-cli support monorepos like Turborepo or Nx?
Yes, vercel-cli supports monorepos. Use 'vercel link --repo' to link a repository containing multiple projects. Subdirectory execution skips ambiguous project prompts.
Are there any team or environment requirements for using vercel-cli?
Ensure you are on the correct team using 'vercel whoami' and that the '.vercel' folder is correctly set up. Linking while on the wrong team or misconfigured directories can cause deployment issues.
All Files
26 filesInstall vercel-cli
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
vercel/vercel