cf uninstall
Completely remove the Coding Friend plugin from Claude Code.
Overview
cf uninstall completely removes the Coding Friend plugin, marketplace registration, statusline, and shell completion from Claude Code.
The command is interactive: it detects what's installed, shows a summary, and asks for confirmation before removing anything.
Usage
cf uninstall
What It Removes
- Plugin registration — unregisters
coding-friend@coding-friend-marketplacefrom Claude Code - Marketplace registration — removes the
coding-friend-marketplaceentry - Plugin cache — deletes
~/.claude/plugins/cache/coding-friend-marketplace/ - Marketplace clone — deletes
~/.claude/plugins/marketplaces/coding-friend-marketplace/(if present) - Statusline reference — cleans up the statusline command from
~/.claude/settings.json - Shell tab completion — removes the completion block from
.zshrcor.bashrc - Global config (optional) —
~/.coding-friend/directory (global config, custom skills) — you'll be asked whether to keep or remove it
What It Does NOT Do
- Does not uninstall the CLI itself (
coding-friend-cli). To do that, runnpm uninstall -g coding-friend-cliseparately. - Does not remove per-project config (
.coding-friend/inside your projects). - Does not restart Claude Code. You'll need to restart manually after uninstalling.
Interactive Flow
=== Coding Friend Uninstall ===
Detected components:
✔ Plugin registration
✔ Marketplace registration
✔ Plugin cache
– Marketplace clone
✔ Statusline reference
✔ Shell tab completion
✔ Global config (~/.coding-friend/)
? This will remove Coding Friend from Claude Code. Continue? (y/N)
? Also remove ~/.coding-friend/ config directory? (y/N)
→ Uninstalling plugin...
→ Removing marketplace...
→ Removing plugin cache...
→ Cleaning statusline...
→ Removing shell completion...
✔ Coding Friend has been completely uninstalled.
Restart Claude Code to complete the uninstall.
Under the Hood
cf uninstall runs these Claude CLI commands:
claude plugin uninstall coding-friend@coding-friend-marketplace
claude plugin marketplace remove coding-friend-marketplace
Then manually cleans up cache directories, statusline settings, and shell completion.