Skip to content

Latest commit

 

History

History
82 lines (57 loc) · 1.95 KB

File metadata and controls

82 lines (57 loc) · 1.95 KB

Uninstalling Claude Code Documentation Mirror

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:

  1. The /docs command from ~/.claude/commands/docs.md
  2. The auto-update hook from ~/.claude/settings.json
  3. The installation directory:
    • v0.3+: ~/.claude-code-docs
    • v0.2 or older: wherever you installed it

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