| Crates.io | clerkcli |
| lib.rs | clerkcli |
| version | 0.1.0-pre.1 |
| created_at | 2025-05-08 12:38:53.148224+00 |
| updated_at | 2025-05-08 14:08:01.155946+00 |
| description | A CLI for Clerk |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1665294 |
| size | 80,118 |
clerkcli is a fast, flexible command-line tool for querying and managing users in Clerk organizations.
The CLI requires a Clerk secret key to authenticate requests. You can find your secret key under "API Keys" in the Clerk Dashboard.
You can provide the secret key in two ways:
CLERK_SECRET_KEY environment variable:
export CLERK_SECRET_KEY=sk_test_...
clerkcli users list --org-id org_abc
clerkcli --secret-key sk_test_... users list --org-id org_abc
You can install the latest release from crates.io using Cargo:
cargo install clerkcli
clerkcli users list --org-id org_abc,org_xyz --order-by -created_at
clerkcli users list --org-id org_abc --emails-only
docker run -e CLERK_SECRET_KEY=$CLERK_SECRET_KEY--rm ghcr.io/nhudson/clerkcli:latest users list --org-id org_abc --emails-only