> For the complete documentation index, see [llms.txt](https://docs.khotan.com/llms.txt). A markdown version of any page is available at its `index.md` URL.

# Install

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

## Zero-install

```sh
npx @khotan/cli --help
```

## Global binary

```sh
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:

```sh
npm view @khotan/cli version
```

## From this repository

Contributors run it from source on Bun:

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

## Next

[Authenticate](/cli/auth/), then review the [agent documentation workflow](/cli/agents/).
