The Clerk command-line interface.
brew install clerk/stable/clerknpm install -g clerkUsage: clerk [options] [command]
Clerk CLI
Options:
-v, --version Output the version number
--input-json <json> Pass command options as a JSON string, @file.json, or -
for stdin
--mode <mode> Force interaction mode (human or agent). Defaults to
auto-detect based on TTY.
--verbose Show detailed output (enables debug messages)
-h, --help Display help for command
Commands:
init [options] Initialize Clerk in your project
auth Manage authentication
link [options] Link this project to a Clerk application
unlink [options] Unlink this project from its Clerk application
whoami Show the current logged-in user
open Open Clerk resources in your browser
apps Manage your Clerk applications
users Manage Clerk users
env Manage environment variables
config Manage instance configuration
api [options] [endpoint] [filter] Make authenticated requests to the Clerk API
doctor [options] Check your project's Clerk integration health
completion [shell] Generate shell autocompletion script
skill Manage the bundled Clerk CLI agent skill
update [options] Update the Clerk CLI to the latest version
help [command] Display help for command