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

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. 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:

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:

kimi --help

To view detailed usage for a specific sub-command:

kimi web --help

Source Files and Implementation

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

  • src/kimi_cli/cli/init.py – Implements the Typer CLI structure, defining all options and sub-commands documented in the reference files.
  • README.md – Provides high-level overview, installation instructions, and links to the hosted documentation.

You can retrieve version information programmatically to verify documentation alignment:

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:

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.
  • 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 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. This file documents every CLI option, sub-command, and usage pattern according to the implementation in 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/.

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →