# Where to Find Kimi CLI Documentation: Repository Sources and Web Portal

> Find Kimi CLI documentation in the MoonshotAI kimi-cli GitHub repository docs en directory or visit the official web portal for quick access.

- Repository: [Moonshot AI/kimi-cli](https://github.com/MoonshotAI/kimi-cli)
- Tags: getting-started
- Published: 2026-07-26

---

**The Kimi CLI documentation is maintained in the `docs/en/` directory of the MoonshotAI/kimi-cli repository and published at https://moonshotai.github.io/kimi-cli/.**

The **kimi-cli** project provides a command-line interface for interacting with Kimi models, with comprehensive documentation covering installation, usage, and customization. This guide identifies the canonical locations for **kimi-cli documentation**, including both the source Markdown files and the generated web portal, ensuring you can always find authoritative information on CLI options and configuration.

## In-Repository Documentation Structure

The definitive documentation lives as Markdown files within the repository under `docs/en/`. These files serve as the source for both local reference and the published website.

### Command Reference

The canonical reference for all CLI capabilities resides in **[docs/en/reference/kimi-command.md](https://github.com/MoonshotAI/kimi-cli/blob/main/docs/en/reference/kimi-command.md)**. This file exhaustively documents every sub-command, command-line option, and usage pattern implemented in the Typer-based CLI.

### Guides and Customization

Additional documentation is organized by functional area:

- **[docs/en/guides/getting-started.md](https://github.com/MoonshotAI/kimi-cli/blob/main/docs/en/guides/getting-started.md)** – Quick-start instructions for initial setup and basic usage.
- **[docs/en/customization/skills.md](https://github.com/MoonshotAI/kimi-cli/blob/main/docs/en/customization/skills.md)** – Configuration guides for adding custom skill directories and extending functionality through plugins.

## Published Documentation Website

The repository content is automatically built and deployed to **https://moonshotai.github.io/kimi-cli/**. This portal mirrors the `docs/en/` directory structure while providing a searchable interface and improved navigation. The site regenerates on every push to the main branch, ensuring it remains synchronized with the in-repo sources.

## Command-Line Help Access

You can access condensed documentation directly from the terminal without opening a browser.

To display built-in help that mirrors the web reference:

```bash
kimi --help

```

To view detailed usage for a specific sub-command:

```bash
kimi web --help

```

## Source Files and Implementation

The documentation references specific implementation details from the following key files:

- **[src/kimi_cli/cli/__init__.py](https://github.com/MoonshotAI/kimi-cli/blob/main/src/kimi_cli/cli/__init__.py)** – Implements the Typer CLI structure, defining all options and sub-commands documented in the reference files.
- **[README.md](https://github.com/MoonshotAI/kimi-cli/blob/main/README.md)** – Provides high-level overview, installation instructions, and links to the hosted documentation.

You can retrieve version information programmatically to verify documentation alignment:

```python
import subprocess
import sys

result = subprocess.run(
    [sys.executable, "-m", "kimi_cli", "--version"],
    capture_output=True,
    text=True
)
print(result.stdout.strip())

```

To open the hosted documentation directly from a Linux terminal:

```bash
xdg-open https://moonshotai.github.io/kimi-cli/

```

## Summary

- **In-repo Markdown files** under `docs/en/` provide the canonical source documentation, including the command reference at [`docs/en/reference/kimi-command.md`](https://github.com/MoonshotAI/kimi-cli/blob/main/docs/en/reference/kimi-command.md).
- **Published website** at https://moonshotai.github.io/kimi-cli/ offers a searchable, browser-friendly interface generated from the repository files.
- **Terminal access** via `kimi --help` provides immediate reference without internet access.
- **Implementation files** like [`src/kimi_cli/cli/__init__.py`](https://github.com/MoonshotAI/kimi-cli/blob/main/src/kimi_cli/cli/__init__.py) define the CLI structure documented throughout the repository.

## Frequently Asked Questions

### Where is the official Kimi CLI documentation hosted?

Official documentation exists in two locations: the `docs/en/` directory within the MoonshotAI/kimi-cli GitHub repository, and the generated static site at https://moonshotai.github.io/kimi-cli/. Both sources are functionally equivalent, with the web portal offering enhanced searchability.

### Which file contains the complete command reference for the Kimi CLI?

The complete command reference is located at **[docs/en/reference/kimi-command.md](https://github.com/MoonshotAI/kimi-cli/blob/main/docs/en/reference/kimi-command.md)**. This file documents every CLI option, sub-command, and usage pattern according to the implementation in [`src/kimi_cli/cli/__init__.py`](https://github.com/MoonshotAI/kimi-cli/blob/main/src/kimi_cli/cli/__init__.py).

### How can I access Kimi CLI documentation offline?

You can access documentation offline by cloning the repository and viewing the Markdown files in `docs/en/`, or by using the built-in help system. Run `kimi --help` for general usage or `kimi <subcommand> --help` for specific command details without requiring an internet connection.

### Is the published GitHub Pages site updated automatically?

Yes, the documentation site at https://moonshotai.github.io/kimi-cli/ updates automatically upon every push to the main branch. This ensures the web documentation always reflects the current state of the Markdown files in `docs/en/`.