Claude Code Uninstaller removes both npm and native binary installations of Anthropic's Claude Code. It benefits operations teams managing development environments. The script connects to npm and system-level binaries, ensuring complete cleanup.
git clone https://github.com/burakdede/claude-code-uninstaller.gitClaude Code Uninstaller removes all traces of Anthropic's Claude Code from your system in a single command. It cleans up npm packages, native binaries, configuration files, shell completions, and project-level settings that standard uninstall methods often leave behind. The script creates timestamped backups before deletion and includes safety features like path validation and binary checks to prevent accidental data loss. It supports macOS, Linux, and Windows via WSL, making it useful for development teams managing multiple environments or automating cleanup in CI/CD pipelines.
["Run the script with elevated privileges if installed system-wide: `sudo claude-code-uninstaller`","For npm installations, ensure Node.js is in your PATH before running","After execution, restart your terminal/shell to clear cached PATH variables","Use the `--dry-run` flag first to preview what will be deleted: `claude-code-uninstaller --dry-run`","Check system logs (e.g., `journalctl -xe`) if any processes fail to terminate"]
Removing failed or mixed npm/native Claude Code installations
Automated cleanup in CI/CD pipelines with --quiet flag
Operations teams managing development environment consistency
Preparing systems for fresh Claude Code reinstalls
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/burakdede/claude-code-uninstallerCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Uninstall all instances of Anthropic's Claude Code from this system. Remove both npm-installed and native binary installations. Verify removal by checking [PATH_VARIABLES] and [NPM_GLOBAL_PATH]. Provide a summary of deleted files and directories. If any remnants are found, suggest manual cleanup steps.
``` Claude Code Uninstallation Report ================================ 1. Detected npm installation at /usr/local/lib/node_modules/claude-code - Deleted: 123 files (8.4 MB) - Removed: 1 symlink in /usr/local/bin/claude 2. Native binary found at /opt/claude-code/bin/claude - Deleted: 45 files (12.1 MB) - Removed: 1 desktop entry at /usr/share/applications/claude-code.desktop 3. System PATH checks: - /usr/local/bin: Clean - /opt/claude-code/bin: Removed from PATH - /home/user/.claude: Not found (user data preserved) Manual cleanup required: - Check /etc/environment for lingering PATH entries - Verify no systemd services are running (e.g., 'systemctl --user list-units | grep claude') Total reclaimed space: 20.5 MB ```
Manage Node.js packages and dependencies effortlessly with streamlined version control.
AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan