Skip to content

clerk/cli

Repository files navigation

clerk

The Clerk command-line interface.

Installation

Homebrew (macOS / Linux)

brew install clerk/stable/clerk

npm

npm install -g clerk

Usage

Usage: 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

About

Put your agent in control with the Clerk CLI

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors