- Support Center
- Multiple Languages
- Language
- Help Us Translate
Check how to uninstall Claude Code and details both the manual terminal commands and a free uninstaller tool to cleanly remove it from your system.
If Installed via Native Installer, simply run: claude uninstall
If Installed via Node Package Manager (npm), entering: npm uninstall -g @anthropic-ai/claude-code
Clearing the Hidden Leftovers, use: rm -rf ~/.claude, rm -rf ~/.cache/claude-code
If you are a developer, you have likely experimented with Claude Code—Anthropic’s powerful command-line interface (CLI) tool designed to help write, debug, and manage code directly from your terminal.
However, developer workflows change rapidly. Whether you are troubleshooting, cleaning up your terminal, or migrating your AI setup, there comes a time when you need a fresh start.
Here is a straightforward guide on what is Claude Code, how to uninstall Claude Code from terminal manually, and how to do it effortlessly with a dedicated tool.
Claude Code is an agentic AI assistant built by Anthropic that operates straight out of your terminal. Unlike the standard browser-based Claude chatbot, Claude Code is deeply integrated into your local development environment.
It can read your repository structure, execute bash commands, run test suites, and directly edit code files. While it is incredibly efficient for automated coding sessions, it can leave behind quite a few configuration files, authentication tokens, and hidden caches on your machine.
Depending on how you initially installed Claude Code, the manual removal process will vary. Here are the core steps for terminal users:
Newer versions of Claude Code include a native binary uninstaller. Simply run:
claude uninstall
Note: If your terminal doesn't recognize this command, you can manually delete the binary by running rm -f ~/.local/bin/claude.
If you managed Claude Code globally through Node.js, remove it by entering:
npm uninstall -g @anthropic-ai/claude-code
To ensure a completely clean slate, you must manually wipe out the saved configurations and login tokens stored in your directory:
rm -rf ~/.claude
rm -rf ~/.cache/claude-code
If modifying system paths or digging into hidden terminal directories feels tedious, you can let an automated utility handle the heavy lifting. IObit Uninstaller is an excellent solution for Windows developers who want a hassle-free cleanup for Claude Code uninstall.
While Claude Code runs in the command line, its underlying components, Node.js modules, or companion desktop applications can leave behind cluttered registries and deep cached files. IObit Uinstaller can uinstall Claude Code completely from your PC with one-click, download for free now!
One-Click Deep Clean: It automatically scans for residual registry entries and leftover junk files that standard uninstallers miss.
Monitored Installations: It tracks system changes in real-time, making it incredibly easy to roll back any development tools perfectly.
Safe and Swift: It removes unwanted apps and stubborn software without breaking your other terminal paths.
By letting IObit Uninstaller handle the Claude Code uninstall, you can keep your machine running light and ready for your next big project!