CLI

Authenticate from the terminal, inspect the active account, and check API availability. The CLI handles access and diagnostics; transforms run through the SDK or HTTP API.

Install the CLI

npm install -g @transform-kit/cli

This installs transform-kit and its shorter alias, tk. Both require Node 20 or newer.

Sign in through your browser

Run tk login. The CLI opens a hosted approval page, then stores the resulting credential in ~/.transform-kit/config.json.

tk login
tk whoami
The CLI never starts a local callback server. Approval happens on the TransformKit website, and the terminal waits for the result.

Command reference

  • tk login: authenticate through the browser. Use --issuer and --api-url to target a local stack.
  • tk logout: remove the stored credential.
  • tk whoami: show the authenticated account and key.
  • tk health: check API availability.

Use a local stack

tk login \
  --issuer https://transform-kit.localhost \
  --api-url https://api.transform-kit.localhost