vercel
Use when deploying to Vercel — project setup, environment variables, serverless functions, Edge Functions, or preview deployments. Also use when configuring Vercel for Next.js, Astro, or other frameworks, or debugging deployment issues.
| Model | Source |
|---|---|
| sonnet | pack: deploy |
Full Reference
┏━ 🚀 vercel ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Use when deploying to Vercel — project setup, … ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Vercel
Section titled “Vercel”Vercel is a cloud platform for frontend and serverless deployments. Git-push deploys, preview URLs per branch, global CDN, and serverless/Edge Functions baked in. Fluid Compute is the default for new projects as of April 2025 — it replaces classic serverless with in-function concurrency and CPU-time billing.
Quick Reference
Section titled “Quick Reference”| Item | Value |
|---|---|
| CLI Install | npm i -g vercel |
| Docs | https://vercel.com/docs |
| Auth method | Browser OAuth or email magic link via vercel login |
| Key env vars | VERCEL, VERCEL_ENV, VERCEL_URL, VERCEL_REGION |
| Deploy (preview) | vercel |
| Deploy (production) | vercel --prod |
| Pull env vars | vercel env pull .env.local |
Reference Index
Section titled “Reference Index”| I want to… | File |
|---|---|
| Install the CLI, import a project, configure vercel.json, or set up a framework adapter | reference/setup.md |
| Add environment variables, manage scopes, or use system-injected vars | reference/env-vars.md |
| Write serverless functions, Edge Functions, Fluid Compute handlers, or cron jobs | reference/functions.md |
| Deploy, roll back, promote, configure custom domains, rewrites, redirects, or headers | reference/deployments.md |
| Stream logs, enable Speed Insights, add Web Analytics, or understand pricing limits | reference/observability-pricing.md |
Usage: Read the reference file matching your current task from the index above. Each file is self-contained with code examples and inline gotchas.