Uninstalling Claude Code Documentation Mirror
July 31, 2025 ยท View on GitHub
Quick Uninstall
For v0.3+ (installed at ~/.claude-code-docs)
From anywhere, run:
~/.claude-code-docs/uninstall.sh
Or use the docs command:
/docs uninstall
For v0.2 or older (custom installation locations)
Navigate to your installation directory and run:
./uninstall.sh
What Gets Removed
The uninstaller will remove:
- The /docs command from
~/.claude/commands/docs.md - The auto-update hook from
~/.claude/settings.json - The installation directory:
- v0.3+:
~/.claude-code-docs - v0.2 or older: wherever you installed it
- v0.3+:
Manual Uninstall
If you prefer to uninstall manually:
1. Remove the command file:
rm -f ~/.claude/commands/docs.md
2. Remove the hook from Claude settings:
Use /hooks in Claude Code CLI or Edit ~/.claude/settings.json direction to remove the PreToolUse hook that references claude-code-docs.
3. Remove the installation directory:
For v0.3+:
rm -rf ~/.claude-code-docs
For older versions:
rm -rf /path/to/your/claude-code-docs
Multiple Installations
If you have multiple installations (e.g., from testing different versions), the uninstaller will notify you about other locations it finds. You'll need to remove each one separately.
To find all installations:
find ~ -name "claude-code-docs" -type d 2>/dev/null | grep -v ".claude-code-docs"
Backup Created
The uninstaller may create a backup of your Claude settings at ~/.claude/settings.json.backup before removing hooks, just in case.
Complete Removal
After uninstalling, there should be no traces left except:
- The backup file
~/.claude/settings.json.backup(if hooks were removed) - Any custom files you added to the installation directory
Reinstalling
To reinstall after uninstalling:
curl -fsSL https://raw.githubusercontent.com/ericbuess/claude-code-docs/main/install.sh | bash