Skip to content

Zsh Plugin Integration

zsh-kimi-cli is a Zsh plugin that lets you quickly switch to Kimi Code CLI in Zsh.

Installation

If you use Oh My Zsh, you can install it like this:

sh
git clone https://github.com/MoonshotAI/zsh-kimi-cli.git \
  ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/kimi-cli

Then add the plugin in ~/.zshrc:

sh
plugins=(... kimi-cli)

Reload the Zsh configuration:

sh
source ~/.zshrc

Usage

After installation, press Ctrl-X in Zsh to quickly switch to Kimi Code CLI without manually typing the kimi command.

If you use other Zsh plugin managers (such as zinit, zplug, etc.), please refer to the zsh-kimi-cli repository README for installation instructions.