kimi-cli Zsh plugin is a Zsh plugin that integrate Kimi CLI into Zsh.
- Press
Ctrl-Xin Zsh to start talking to Kimi CLI. - Press
Ctrl-Xagain to exit Kimi CLI mode.
- Zsh 5.4+
kimibinary available in$PATH
Pick the method that matches your Zsh setup.
# 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.zshOpen a new shell (or exec zsh) to activate the handler.
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 bundle MoonshotAI/zsh-kimi-cli
antigen applyzinit light MoonshotAI/zsh-kimi-cliznap source MoonshotAI/zsh-kimi-clifig plugin install MoonshotAI/zsh-kimi-clizplug "MoonshotAI/zsh-kimi-cli", as:plugin