From vercel-vercel
Deploy, manage, and troubleshoot Vercel projects via CLI. Covers deployments, env vars, logs, domains, DNS, team/project linking, and local development.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vercel-vercel:vercel-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The Vercel CLI (`vercel` or `vc`) deploys, manages, and develops projects on the Vercel platform from the command line. Use `vercel <command> --help` for full flag details on any command.
command/vercel.mdreferences/advanced.mdreferences/agent-and-ai.mdreferences/bun.mdreferences/ci-automation.mdreferences/connectors.mdreferences/container-registry.mdreferences/deployment.mdreferences/domains-and-dns.mdreferences/environment-variables.mdreferences/firewall.mdreferences/flags.mdreferences/getting-started.mdreferences/global-options.mdreferences/integrations.mdreferences/local-development.mdreferences/microfrontends.mdreferences/monitoring-and-debugging.mdreferences/monorepos.mdreferences/node-backends.mdThe Vercel CLI (vercel or vc) deploys, manages, and develops projects on the Vercel platform from the command line. Use vercel <command> --help for full flag details on any command.
The installed CLI help is the source of truth for obscure or newly added flags. If a command example here is not enough, check vercel <command> --help before acting instead of guessing.
Parse only stdout for URLs and JSON. Warnings, progress, and --help print to stderr; merge streams only when searching help text. Some help commands exit 2 after printing usage, so treat printed usage as a successful help read.
In agent/non-interactive mode, many commands report errors and required confirmations as a single JSON object on stdout with status, reason, hint, and next (runnable follow-up commands). Prefer running a suggested next command over composing a retry. Read commands such as list, logs, inspect, and api keep their normal output shape.
Commands must be run from the directory containing the .vercel folder (or a subdirectory of it). How .vercel gets set up depends on your project structure:
.vercel/project.json: Created by vercel link. Links a single project. Fine for single-project repos, and can work in monorepos if there's only one project..vercel/repo.json: Created by vercel link --repo. Links a repo that may contain multiple projects. Always a good idea when any project has a non-root directory (e.g., apps/web).Running from a project subdirectory (e.g., apps/web/) skips the "which project?" prompt since it's unambiguous.
When something goes wrong, check how things are linked first — look at what's in .vercel/ and whether it's project.json or repo.json. Also verify you're on the right team with vercel whoami — linking while on the wrong team is a common mistake.
npm i -g vercel
vercel login
vercel link # single project
# OR
vercel link --repo # monorepo
vercel pull
vercel dev # local development
vercel deploy # preview deployment
vercel --prod # production deployment
Use this to route to the correct reference file:
references/deployment.mdreferences/project-infra.mdreferences/local-development.mdreferences/environment-variables.mdreferences/ci-automation.mdreferences/domains-and-dns.mdreferences/projects-and-teams.mdreferences/monitoring-and-debugging.mdreferences/platform-ops.mdreferences/storage.mdvercel vcr: repositories, images, tags, docker/podman/buildah login, push/pull) → references/container-registry.mdreferences/integrations.mdvercel connect) → references/connectors.mdreferences/routing.mdreferences/firewall.mdvercel curl (see references/monitoring-and-debugging.md)vercel api after first-class CLI paths are unavailable or insufficient (see references/advanced.md)references/node-backends.mdreferences/monorepos.mdreferences/bun.mdreferences/flags.mdreferences/microfrontends.mdreferences/sandbox.mdreferences/agent-and-ai.mdvercel traces, including --open / --view) → references/advanced.mdvercel oauth-apps) → references/advanced.mdvercel api fallback, webhooks) → references/advanced.mdreferences/global-options.mdreferences/getting-started.mdvercel link creates project.json, which only tracks one project. Use vercel link --repo instead. When things break, check .vercel/ first.vercel link if .vercel/ doesn't exist. This creates project.json, which may be wrong. Run vercel link (or --repo) explicitly first.vercel whoami to check, vercel teams switch to change.--non-interactive by default, but plain CI does not — pass it explicitly there, and add --yes only for commands that require confirmation.vercel deploy after vercel build without --prebuilt: The build output is ignored.vercel redeploy for no-cache rebuilds: vercel redeploy does not expose a no-cache flag; use vercel deploy --force without --with-cache when you need a fresh deployment that does not retain build cache.VERCEL_TOKEN env var instead of --token.vercel curl instead to access preview deploys.vercel api too early: Prefer first-class CLI commands when they expose the needed data or mutation.npx claudepluginhub vercel/vercelGuides Vercel CLI (vercel/vc) for deploying projects, linking repos, managing env vars/domains, viewing logs/metrics from command line. Activates on vercel commands or deployment queries.
Provides Vercel CLI reference for deploying frontend apps, managing serverless functions, domains, env vars, and debugging deployments. Triggers on vercel.json, .vercel dir, or VERCEL_TOKEN.
Deploys and manages Vercel projects using token-based authentication. Automatically locates VERCEL_TOKEN and project IDs from environment or .env files, then runs CLI commands without exposing secrets.