Skip to main content
The Vercel adapter is automatically configured when deploying on Vercel. For debugging or local development, you can install and configure it manually.

Automatic installation

When you deploy your Next.js application to Vercel, the adapter is automatically configured. No manual installation is required.
It is recommended to let Vercel automatically configure the adapter to receive automatic fixes and updates.

Manual installation

For debugging purposes or local development, you can install the adapter package manually.

Package managers

npm install @next-community/adapter-vercel@latest

Requirements

The adapter has the following requirements:
Node.js
string
required
Version 20.6.0 or higher
Next.js
string
required
Version 16.1.1-canary.18 or higher

Configuration

After installation, configure the adapter in your Next.js configuration file.
next.config.ts
import { NextConfig } from 'next'

const nextConfig: NextConfig = {
  experimental: {
    adapterPath: require.resolve('@next-community/adapter-vercel')
  }
}

export default nextConfig

Verification

To verify the adapter is working correctly, build your Next.js application:
npm run build
The adapter will generate a .next/output directory containing the Vercel deployment configuration and outputs.

Build docs developers (and LLMs) love