kimi-cli Zsh Plugin
October 27, 2025 ยท View on GitHub
kimi-cli Zsh plugin is a Zsh plugin that integrate Kimi CLI into Zsh.
Usage
- Press
Ctrl-Xin Zsh to start talking to Kimi CLI. - Press
Ctrl-Xagain to exit Kimi CLI mode.
Requirements
- Zsh 5.4+
kimibinary available in$PATH
Installation
Pick the method that matches your Zsh setup.
Manual (.zshrc)
# clone anywhere you prefer
git clone https://github.com/MoonshotAI/zsh-kimi-cli.git ~/.zsh/kimi-cli
# load the plugin in .zshrc
source ~/.zsh/kimi-cli/kimi-cli.plugin.zsh
Open a new shell (or exec zsh) to activate the handler.
Oh My Zsh
git clone https://github.com/MoonshotAI/zsh-kimi-cli.git \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/kimi-cli
# in ~/.zshrc
plugins=(... kimi-cli)
Reload Zsh to pick up the plugin.
Antigen
antigen bundle MoonshotAI/zsh-kimi-cli
antigen apply
Zinit
zinit light MoonshotAI/zsh-kimi-cli
Znap
znap source MoonshotAI/zsh-kimi-cli
Fig
fig plugin install MoonshotAI/zsh-kimi-cli
Zplug
zplug "MoonshotAI/zsh-kimi-cli", as:plugin