https://github.com/clerk/cli
Put your agent in control with the Clerk CLI
https://github.com/clerk/cli
clerk cli
Last synced: 18 days ago
JSON representation
Put your agent in control with the Clerk CLI
- Host: GitHub
- URL: https://github.com/clerk/cli
- Owner: clerk
- License: mit
- Created: 2026-02-11T18:50:01.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-05-21T12:39:46.000Z (18 days ago)
- Last Synced: 2026-05-21T13:30:00.273Z (18 days ago)
- Language: TypeScript
- Homepage: https://clerk.com/cli
- Size: 2.92 MB
- Stars: 29
- Watchers: 0
- Forks: 1
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-product-cli - Clerk CLI - Manage Clerk auth resources from the terminal. (Auth and Identity)
README
# clerk
The Clerk command-line interface.
## Installation
### Homebrew (macOS / Linux)
```sh
brew install clerk/stable/clerk
```
### npm
```sh
npm install -g clerk
```
## Usage
```
Usage: clerk [options] [command]
Clerk CLI
Options:
-v, --version Output the version number
--input-json Pass command options as a JSON string, @file.json, or -
for stdin
--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 [options] Show the current logged-in user and linked application
open Open Clerk resources in your browser
apps Manage your Clerk applications
users [options] Manage Clerk users
env Manage environment variables
config Manage instance configuration
enable Enable Clerk features on the linked instance
disable Disable Clerk features on the linked instance
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
Give AI agents better Clerk context: install the Clerk skills
$ clerk skill install
```