From 87027e95a1609c1896b993d7df2c454639cd2f59 Mon Sep 17 00:00:00 2001 From: Devin Gould Date: Fri, 29 May 2026 12:08:19 -0400 Subject: [PATCH] Add `clerk init` keyless note to Next.js AI prompt Surfaces the Clerk CLI as a one-command setup path in the Next.js quickstart prompt (served at /docs/nextjs/getting-started/quickstart.md). Uses `clerk init --starter --framework next --keyless`, which matches the prompt's existing keyless-first, no-signup philosophy, and links to the CLI docs. Manual steps are left unchanged. Co-Authored-By: Claude Opus 4.8 --- prompts/nextjs-quickstart.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prompts/nextjs-quickstart.md b/prompts/nextjs-quickstart.md index 05f5f22e75..3cac8aaf46 100644 --- a/prompts/nextjs-quickstart.md +++ b/prompts/nextjs-quickstart.md @@ -6,6 +6,8 @@ If a Next.js App Router project does not already exist, first create one using: npx create-next-app@latest my-clerk-app --yes ``` +> **Note:** To create a new Clerk + Next.js app in one step (keyless development keys, no signup required), run `npx clerk init --starter --framework next --keyless`. See the [Clerk CLI](https://github.com/clerk/cli) docs. + Install `@clerk/nextjs@latest`. Create `proxy.ts` with `clerkMiddleware()` from `@clerk/nextjs/server` (in `src/` if it exists, otherwise project root). Add `` inside `` in `app/layout.tsx`. Use ``, ``, ``, `` from `@clerk/nextjs`. Latest docs: https://clerk.com/docs/nextjs/getting-started/quickstart