Kimi Code removal

Uninstall Kimi Code

Choose the right Kimi Code uninstall path for packages, IDE extensions, plugins, sessions, logs, and credentials.

Uninstall checklist for Kimi Code
Cleanupreading path
Kimi K3frontier example
8source links
2026-07-29updated

Keep what matters before you remove anything

Uninstall Kimi Code with the same channel that installed it. Then decide whether to keep or clear sessions, config, credentials, plugins, and logs. Those are separate choices.

For a normal uninstall, remove the app or global command and leave the data root alone. For a clean reset, export important sessions first and then clear the documented data folders.

Copyable commands

Uninstall the binary first, then decide whether to preserve, move, or clear local data.

Check how Kimi is installed

Run these before uninstalling so you remove the right package.

command -v kimi
kimi --version
npm list -g --depth=0 | grep -i kimi
pnpm list -g --depth=0 | grep -i kimi
yarn global list | grep -i kimi

Save the current session

Export before removing the command if you may need the latest context later.

mkdir -p "$HOME/kimi-code-backup"
kimi export -y -o "$HOME/kimi-code-backup/latest-session.zip"

Remove the installed command

Choose the one package-manager line that matches the install source.

npm uninstall -g <package-name>
pnpm remove -g <package-name>
yarn global remove <package-name>

Verify PATH after uninstall

Open a new terminal or refresh the shell hash before checking again.

hash -r
command -v kimi || echo "kimi is not on PATH"

Decision checklist

Use this section to keep the next step practical before you touch accounts, files, infrastructure, or hardware.

CheckLook forWhy it matters
Keep firstIdentify sessions, config, plugins, logs, and credentials before removing an app or command.Cleanup is safer when data deletion stays separate from uninstalling.
Confirm install sourceCheck whether the tool came from npm, pnpm, Homebrew, an app bundle, or a manual download.The right removal path depends on the original channel.
Protect credentialsDo not display raw tokens or OAuth files while checking paths.The goal is to remove risk, not expose secrets.
Verify after cleanupReopen a terminal and confirm PATH, config folders, and app entries behave as expected.A clean uninstall needs evidence, not just a deleted file.

Uninstall paths

Install typeRemoval pathAfterward
Global npm packagenpm uninstall -g the package name you installedCheck that kimi is no longer on PATH
pnpm or yarn global installUse the same global package managerOpen a new terminal before testing PATH
IDE extensionRemove from the editor extension managerRestart the editor
Local data resetClear selected folders under KIMI_CODE_HOMEExport sessions first

Safe cleanup order

Remove the install

Use npm, pnpm, yarn, a native package, or your IDE extension manager depending on the original install path.

Clear plugins only if needed

Disable or remove plugins when plugin behavior is the reason for uninstalling.

Clear credentials carefully

Use logout where available, then remove only the matching provider or MCP credential files if a deeper cleanup is required.

Verify the command is gone

Open a new terminal and run which kimi or kimi --version. If it still responds, another install path remains.

What can remain after uninstall

Package uninstall

Global package removal usually removes the command but leaves user data behind.

IDE uninstall

The VS Code extension is separate from the CLI executable and should be removed from the editor extension manager.

Clean reinstall

After uninstalling, move the data root aside instead of deleting it immediately. That gives you a rollback if you later need an old session.

FAQ

Why does kimi still run after uninstall?

Another install path may still be on PATH, or the terminal needs to be restarted.

Can I reinstall without losing old sessions?

Yes. Package reinstall can keep existing data unless you clear the data root.

Should I delete credentials manually?

Only if logout or package removal does not meet your cleanup goal, and only for the matching provider or MCP account.

Further reading