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 directorycd yourapp# Install the clerk/nextjs packagenpm install @clerk/nextjs