vercel-cli

Deploy, manage, and debug Vercel projects from the command line.

Updated Jul 31, 2026
One-click install
npx skills add https://github.com/AarnavBaddam/skills --skill vercel-cli-aarnavbaddam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-cli
Source: https://github.com/AarnavBaddam/skills/tree/main/vercel-cli
Command: npx skills add https://github.com/AarnavBaddam/skills --skill vercel-cli-aarnavbaddam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Managing Vercel deployments, environment variables, domains, logs, and integrations from the terminal involves many commands with subtle pitfalls like wrong project linking, missing CI flags, and deployment protection issues. This Skill provides expert guidance on the Vercel CLI so you can execute the right command correctly the first time. ## Core Features & Use Cases - Deployment Workflows: Preview and production deploys, prebuilt builds, blue/green promotion, rolling releases, and rollback. - Project & Environment Management: Project linking (single project vs monorepo with --repo), environment variable scoping, and team switching. - Monitoring & Debugging: Query logs and metrics, inspect deployments, access protected preview deploys with vercel curl, and bisect regressions. - Use Case: Your CI pipeline fails to deploy a Turborepo monorepo. The Skill identifies that vercel link --repo is required instead of vercel link, and provides the correct vercel pull, vercel build --prod --standalone, and vercel deploy --prebuilt --prod sequence with --yes and VERCEL_TOKEN for non-interactive runs. ## Quick Start Ask the assistant to check the status of your latest Vercel deployment and show any error logs.

Frequently Asked Questions about vercel-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy to Vercel from the command line?

Run `vercel` for a preview deployment or `vercel --prod` for production from a linked project directory. For deterministic builds, run `vercel build --prod` followed by `vercel deploy --prebuilt --prod`.

How do I link a monorepo to Vercel?

Use `vercel link --repo` instead of `vercel link`. It creates `.vercel/repo.json` mapping directories to multiple Vercel projects, whereas plain `vercel link` creates `project.json` tracking only one project.

How do I access a Vercel preview deployment with deployment protection?

Use `vercel curl /path --deployment <preview-url>`, which handles deployment protection automatically. Do not disable deployment protection; `vercel curl` manages the bypass for you.

Why does my Vercel CI deployment fail or prompt interactively?

CI runs require the `--yes` flag to skip prompts and the `VERCEL_TOKEN` environment variable for authentication instead of `--token`. If build and deploy run in separate jobs, add `--standalone` to `vercel build` so artifacts are self-contained.

Can I run Express or Hono backends on Vercel?

Yes, Vercel supports Node.js backends like Express, Hono, Fastify, and NestJS as first-class apps. Export your app as default from an entrypoint like `server.ts`; routes are introspected automatically with no rewrites or build scripts needed.

What if the Vercel CLI has no command for what I need?

Use `vercel api` as a fallback for full access to the Vercel REST API with automatic authentication. Run `vercel api ls` to discover available endpoints, for example `vercel api /v9/projects --scope my-team`.