Before you start
You need:Install and sign in
1
Install the CLI
stable branch always points at it. Keep the quotes. Some zsh setups treat # as a pattern and fail without them.2
Sign in
9876 on your machine needs to be free while you sign in.To use an API key instead, run kit init. It asks whether you want OAuth or an API key, sets up the one you pick, and then checks your setup. See Use an API key for scripts and CI.3
Check that it works
kit doctor checks your Node.js version, config, authentication, and API connectivity.The first command you run in an interactive terminal asks
Share usage data and error reports with Kit? [y/N]. The default is no, so press Enter to decline. Change your answer at any time with kit config set-telemetry true or false.Run your first commands
List subscribers:Get JSON output
Commands print a table by default. Add--format json to get JSON on stdout, ready to pipe into another tool:
Page through results
List commands return 50 results by default. Set--per-page up to 1000. When there’s another page, the command prints a Pagination: line with a cursor to pass to --after or --before:
Call any endpoint
kit api sends a request straight to a v4 path, with your credentials and the CLI’s retry handling:
/v4. Every method except GET asks for confirmation first.
Update the CLI
Runkit upgrade to move to the newest release:
stable branch and runs the install command again when a newer release exists.
Pin a version
To keep a script on a fixed version, install a release by its tag:Turn on shell completion
Sign out
Uninstall
1
Sign out
kit command is still installed.2
Remove the CLI
@kit/cli is the package’s name. npm uses it for an install from GitHub too.3
Remove the Claude Code skill
If you ran
kit setup-skill, delete the skill:4
Remove access to your Kit account
If you signed in with
kit login, uninstall the Kit CLI app from the Manage tab of the Kit App Store. This revokes its tokens and ends access for every machine signed in to that account.If you used an API key that nothing else depends on, delete it in your developer settings.Next steps
- Automation and AI agents covers API keys, CI, confirmation prompts, and the Claude Code skill.
- The README lists every command and its flags.