clerk weekly downloads statistics
By clerk (5 listings) · npm · MCP servers
The official Clerk CLI. Add authentication to your app with npx -y clerk@latest init (Next.js, React Router, Astro, Nuxt, TanStack Start, Expo, and more). No Clerk account needed to start. Manage users, instances, keys, and deploys from the terminal or a
clerk has 128,472 recorded weekly downloads on npm, an increase of 30.3% over the past 30 days, ranking #603 of 3,247 tracked listings.
About clerk
clerk
The Clerk command-line interface.
Add Clerk to an app
npx -y clerk@latest init
clerk init is the setup path for developers and coding agents. It detects the
framework, installs the matching Clerk SDK for npm-based projects when it is
missing, and scaffolds the Clerk wiring it can safely generate.
For accountless-capable frameworks (Next.js, Astro, Nuxt, TanStack Start, and
React Router), unauthenticated agent runs can start without a Clerk account or
browser login. With no --app and no linked project, a first clerk init run
creates an unclaimed development application, writes local development keys, and
stores a claim breadcrumb for a later clerk auth login. Later runs keep an
existing unclaimed application instead of replacing it, unless you pass
--fresh. Frameworks without accountless
support need an authenticated app target before keys can be pulled: pass
--app <id>, use a linked project, or run npx -y clerk@latest init --login
in an interactive terminal to log in and link one.
What clerk init changes:
- Installs missing Clerk SDK packages in npm-based projects.
- Creates or updates supported framework files, such as provider wiring, middleware or proxy files, and sign-in/sign-up routes.
- Writes Clerk keys to an env file when a real or accountless app is available.
- When it creates a new accountless application, writes
.clerk/keyless.jsonand adds.clerk/to.gitignore. - In npm-based projects, offers to install Clerk agent skills; agent mode runs
that step non-interactively unless
--no-skillsis passed.
After setup, run clerk doctor to verify the integration:
npx -y clerk@latest doctor
Installation
Homebrew (macOS / Linux)
brew install clerk/stable/clerk
npm
npm install -g clerk
Usage
Usage: clerk [options] [command]
Clerk CLI
Options:
-h, --help Display help for command
--input-json <json> Pass command options as a JSON string, @file.json, or -
for stdin
--mode <mode> Force interaction mode (human or agent). Also settable
via the CLERK_MODE environment variable. Defaults to
agent when run by a known AI agent or without a TTY.
-v, --version Output the version number
--verbose Show detailed output (enables debug messages)
Commands:
agents Set up Clerk auth for agent tooling you build, such as MCP servers
api [options] [endpoint] [filter] Call any Clerk API endpoint (200+; `clerk api ls` to browse)
apps Manage your Clerk applications
auth Manage authentication
completion [shell] Generate shell autocompletion script
config Manage instance configuration
deploy [options] Deploy a Clerk application to production
disable Disable Clerk features on the linked instance
doctor [options] Check your project's Clerk integration health
enable Enable Clerk features on the linked instance
env Manage environment variables
feedback [options] Report a wrong result, a confusing error, a missing capability or a needed improvement to Clerk
help [command] Display help for command
impersonate|imp [options] [user] Impersonate a Clerk user
init [options] Initialize Clerk in your project
link [options] Link this project to a Clerk application
logs [options] Read your instance's Application Logs
mcp Manage the Clerk remote MCP server connection for AI editors and CLIs
migrate Migrate users into Clerk from another auth platform or another Clerk instance
open Open Clerk resources in your browser
security Audit an instance against Clerk's security recommendations
telemetry Control CLI usage telemetry (status, disable, enable)
unlink [options] Unlink this project from its Clerk application
update [options] Update the Clerk CLI to the latest version
users [options] Manage Clerk users
webhooks Stream webhook events to a local handler and verify their signatures
whoami [options] Show the current logged-in user and linked application
bird Play Clerk Bird, a Flappy Bird game in your terminal
Output stability
The human output (tables, summaries, notes, and colors) is written for people and can change in any release. It truncates IDs, prints times in your local time zone, and adds color, so don't parse it.
Scripts and agents should use --json. Its shape is a contract: removing,
renaming, or changing the type of a field ships only in a major version. New
fields, and list items with a new object value, can appear in any release, so
ignore what you don't recognize. In agent mode, most commands that support
--json print JSON without the flag.
Telemetry…
Description from the npm listing.
- accountless
- ai-agent
- auth
- authentication
- clerk
- clerk-cli
- cli
- coding-agent
- expo
- keyless
- mcp
- nextjs
- oauth
- react
- user-management
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm MCP servers plugins
All 20 clerk alternativesclerk on other marketplaces
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/clerk. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.