Install

The published CLI is a self-contained Node.js binary. Bun is not required to run it.

Zero-install

npx @khotan/cli --help

Global binary

npm i -g @khotan/cli
# or: bun add -g @khotan/cli / pnpm add -g @khotan/cli
khotan --help

Check the registry for the current version rather than pinning a memorized one:

npm view @khotan/cli version

From this repository

Contributors run it from source on Bun:

bun run khotan -- --help
bun packages/khotan-cli/src/bin/khotan.ts --help

Next

Authenticate, then review the agent documentation workflow.