Skip to main content
⚡ OpenDevDocs
Deployment
devopsdeploymentGuideBeginner

Deploy Next.js to Vercel

Complete step-by-step guide to deploying Next.js App Router applications to Vercel with automatic CI/CD, preview deployments, and environment variables.

Verified: 2026-09-30
Tested on:nextjs 16.x, vercel 61.x
Platforms:
cloud
#nextjs#vercel#deployment#serverless

Vercel is the native cloud deployment platform created by the authors of Next.js, featuring automatic edge routing, incremental static regeneration (ISR), serverless functions, and Git-integrated preview deployments.


Step-by-Step Deployment

```bash
git add .
git commit -m "feat: ready for initial production deployment"
git push origin main
```

Deploying via Vercel CLI

# Install CLI globally
npm install -g vercel

# Link local folder and deploy preview build
vercel

# Deploy directly to production
vercel --prod

On this page