A simple CLI tool to guide you through the file integration setup for next-auth@^5.0.0-beta.25
in your Next.js project.
You can install the CLI globally or use it directly with npx
.
npm install -g @mrathod05/use-nextauth-v5
or
npx @mrathod05/use-nextauth-v5
Run the CLI in your project root:
npx @mrathod05/use-nextauth-v5
You'll be guided through the process of integrating the required files for next-auth@^5.0.0-beta.25.
Note: This tool does not install the
next-auth
package automatically. It will remind you to install it yourself using your preferred package manager.
- Guides you through adding required files for NextAuth v5
- Helps standardize setup for authentication routes, config, and provider files
- Promotes best practices and v5-compatible structure
$ npx @mrathod05/use-nextauth-v5
Next Auth v5 File Integrator
==========================
🚀 Please install NextAuth v5 manually using one of the following commands:
npm:
npm install next-auth@^5.0.0-beta.25
yarn:
yarn add next-auth@^5.0.0-beta.25
pnpm:
pnpm add next-auth@^5.0.0-beta.25
⚠️ Make sure to run this command in your project directory.