From anywhere, run:
~/.claude-code-docs/uninstall.shOr use the docs command:
/docs uninstallNavigate to your installation directory and run:
./uninstall.shThe 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+:
If you prefer to uninstall manually:
rm -f ~/.claude/commands/docs.mdUse /hooks in Claude Code CLI or Edit ~/.claude/settings.json direction to remove the PreToolUse hook that references claude-code-docs.
For v0.3+:
rm -rf ~/.claude-code-docsFor older versions:
rm -rf /path/to/your/claude-code-docsIf 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"The uninstaller may create a backup of your Claude settings at ~/.claude/settings.json.backup before removing hooks, just in case.
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
To reinstall after uninstalling:
curl -fsSL https://raw.githubusercontent.com/ericbuess/claude-code-docs/main/install.sh | bash