Skip to content

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.

ModelSource
sonnetpack: deploy
Full Reference

┏━ 🚀 vercel ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Use when deploying to Vercel — project setup, … ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

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.

ItemValue
CLI Installnpm i -g vercel
Docshttps://vercel.com/docs
Auth methodBrowser OAuth or email magic link via vercel login
Key env varsVERCEL, VERCEL_ENV, VERCEL_URL, VERCEL_REGION
Deploy (preview)vercel
Deploy (production)vercel --prod
Pull env varsvercel env pull .env.local
I want to…File
Install the CLI, import a project, configure vercel.json, or set up a framework adapterreference/setup.md
Add environment variables, manage scopes, or use system-injected varsreference/env-vars.md
Write serverless functions, Edge Functions, Fluid Compute handlers, or cron jobsreference/functions.md
Deploy, roll back, promote, configure custom domains, rewrites, redirects, or headersreference/deployments.md
Stream logs, enable Speed Insights, add Web Analytics, or understand pricing limitsreference/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.