{
 "kind": "tool",
 "slug": "clerk",
 "path": "tools/clerk/",
 "name": "Clerk",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "Modern authentication and user management SDK for Next.js and React.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @clerk/nextjs"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/clerk/javascript"
  },
  {
   "label": "Website",
   "href": "https://clerk.com/"
  },
  {
   "label": "API page",
   "path": "apis/clerk/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/clerk/javascript"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 23, 2026. ",
   "src": "https://github.com/clerk/javascript"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "58 projects",
   "status": "info",
   "sub": "#11 of 141 in its category",
   "note": "Dependency in 58 public GitHub projects set up for AI coding agents that we scanned (0.9%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "6 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Clerk does",
   "parts": [
    {
     "t": "prose",
     "text": "Modern authentication and user management SDK for Next.js and React."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Clerk popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "62",
       "of": "/ 100",
       "l": "Gid Score, #916 overall"
      },
      {
       "n": "4.1M",
       "l": "downloads a week, npm"
      },
      {
       "n": "1,784",
       "l": "GitHub stars"
      },
      {
       "n": "58",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Clerk is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Clerk is a dependency in 58 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.2% of the 4,867 JavaScript/TypeScript ones), #11 of 141 in auth and security libraries.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 530; those are left out of every share on this page.",
      "The most used alternative in our scan is NextAuth.js (150 projects).",
      "Projects that use it most often also use Lucide React (77.6%), Next.js (70.7%), Tailwind Merge (72.4%).",
      "It is more common in projects set up for Roo Code (7.2%) than for Claude Code (0.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "33 projects, 1.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "26 projects, 0.9%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "26 projects, 0.8%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "11 projects, 3.9%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "8 projects, 7.2%",
       "v": "Roo Code",
       "path": "agents/roo-code/"
      },
      {
       "l": "6 projects, 1.3%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "6 projects, 1.3%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 77.6% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 70.7% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 72.4% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 69.0% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 94.8% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 72.4% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 63.8% of its projects",
       "v": "Radix UI",
       "path": "tools/radix-ui/"
      },
      {
       "l": "In 84.5% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Clerk",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "nextjs-app-router-patterns: Master Next.js 14+ App Router with Server Components, streaming, parallel routes, and advanced data fetching. Use when building Next.js appl",
        "nextjs-developer: Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke to configure route handlers, implem",
        "clerk-android: Implement Clerk authentication for native Android apps using Kotlin and Jetpack Compose with clerk-android source-guided patterns. Use for p",
        "nextjs-developer: Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke for full-stack features, performanc",
        "nextjs-on-cloudflare: Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext. Use when starting a Next.js project on Cloudflare, moving an exis",
        "nextjs-mastery: Next.js 14+ App Router patterns including RSC, ISR, middleware, parallel routes, and data fetching"
       ]
      },
      {
       "title": "Head to head",
       "items": [
        {
         "text": "Better Auth vs Clerk",
         "note": "used together in 0 projects",
         "path": "tools/compare/better-auth-vs-clerk/"
        },
        {
         "text": "NextAuth.js vs Clerk",
         "note": "used together in 5 projects",
         "path": "tools/compare/nextauthjs-vs-clerk/"
        }
       ]
      },
      {
       "title": "More in Auth and security libraries",
       "path": "tools/auth-security/",
       "items": [
        {
         "text": "bcryptjs",
         "path": "tools/bcryptjs/"
        },
        {
         "text": "jsonwebtoken",
         "path": "tools/jsonwebtoken/"
        },
        {
         "text": "cryptography",
         "path": "tools/cryptography/"
        },
        {
         "text": "PyJWT",
         "path": "tools/pyjwt/"
        },
        {
         "text": "jose",
         "path": "tools/jose/"
        },
        {
         "text": "DOMPurify",
         "path": "tools/dompurify/"
        },
        {
         "text": "Helmet",
         "path": "tools/helmet/"
        },
        {
         "text": "bcrypt (JavaScript)",
         "path": "tools/bcrypt-npm/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Clerk",
       "me": true,
       "facts": [
        "MIT",
        "Gid 62",
        "4.1M/wk"
       ]
      },
      {
       "name": "NextAuth.js",
       "why": "Complete open-source authentication solution designed for Next.js applications.",
       "path": "tools/next-auth/",
       "facts": [
        "ISC",
        "Gid 75",
        "9.4M/wk"
       ]
      },
      {
       "name": "Better Auth",
       "why": "Comprehensive authentication framework for TypeScript with multiple strategies.",
       "path": "tools/better-auth/",
       "facts": [
        "MIT",
        "Gid 79",
        "21.1M/wk"
       ]
      },
      {
       "name": "Passport.js",
       "why": "Modular authentication middleware for Node.js supporting OAuth, JWT and local strategies.",
       "path": "tools/passport/",
       "facts": [
        "MIT",
        "Gid 69",
        "10.5M/wk"
       ]
      }
     ],
     "more": "Compare Clerk with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @clerk/nextjs"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Clerk yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @clerk/nextjs"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "61.5"
  ],
  [
   "Rank in category",
   "#11 of 141"
  ],
  [
   "GitHub",
   "clerk/javascript"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/clerk.png"
}