CLI
The Skytale CLI handles account creation, API key management, and JWT token exchange. It replaces the curl commands you’d otherwise run against the API.
Install
Section titled “Install”Build from source:
cd cli && cargo build --releasecp target/release/skytale ~/.cargo/bin/ # or anywhere on your PATHVerify:
skytale --helpCommands
Section titled “Commands”skytale signup
Section titled “skytale signup”Create an account and save the API key automatically.
The API key is saved to ~/.skytale/api-key (mode 0600). All subsequent commands use it automatically.
skytale account
Section titled “skytale account”Show the current account info.
skytale accountID: 550e8400-e29b-41d4-a716-446655440000Email: [email protected]Name: Your NamePlan: freeskytale keys list
Section titled “skytale keys list”List all active API keys.
skytale keys listID PREFIX NAME CREATED550e8400-e29b-41d4-a716-446655440000 sk_live_a1b2c3d4 default 2026-02-26 14:30skytale keys create
Section titled “skytale keys create”Create a new API key.
skytale keys create --name ci-keyskytale keys revoke
Section titled “skytale keys revoke”Revoke an API key by ID.
skytale keys revoke 550e8400-e29b-41d4-a716-446655440000skytale token
Section titled “skytale token”Exchange the API key for a short-lived JWT. Prints the raw token to stdout.
skytale tokeneyJhbGciOiJIUzI1NiIs...Useful for piping into other tools:
export SKYTALE_JWT=$(skytale token)skytale billing
Section titled “skytale billing”Show current plan and subscription status.
skytale billingPlan: proStatus: activeRenews: 2026-04-01T00:00:00Zskytale billing upgrade
Section titled “skytale billing upgrade”Subscribe to a paid plan. Opens Stripe Checkout in your browser.
skytale billing upgrade pro # $29/moskytale billing upgrade team # $99/moskytale billing portal
Section titled “skytale billing portal”Open the Stripe billing portal to update payment methods, view invoices, or cancel.
skytale billing portalConfiguration
Section titled “Configuration”| Setting | Flag | Env var | Default |
|---|---|---|---|
| API URL | --api-url | SKYTALE_API_URL | https://api.skytale.sh |
| API key | — | SKYTALE_API_KEY | ~/.skytale/api-key |
Precedence: flag > env var > file/default.
Self-hosted
Section titled “Self-hosted”Point the CLI at your own API server:
Or set it globally:
export SKYTALE_API_URL="http://localhost:3100"skytale keys list