Clerk logo

Clerk Docs

Ctrl + K
Go to clerkstage.dev
Check out a preview of our new docs.

Install @clerk/nextjs

Easily install Clerk into your Next.js application.

Once you have a Next.js application ready, you need to install Clerk's Next.js SDK. This gives you access to our prebuilt components and hooks for React, as well as our helpers for Next.js API routes, server-side rendering, and edge middleware.

# Navigate to your application's root directory
cd yourapp
# Install the clerk/nextjs package
npm install @clerk/nextjs

Was this helpful?

Clerk © 2023