Skip to content
Development
Command

/reinstall-all-plugins

Uninstall and reinstall all Claude Code plugins to refresh cache and resolve version mismatches.

From plugin
claude-night-market
343162 skills60 agents162 commands1 MCP
> /plugin marketplace add athola/claude-night-market

Command definition

reinstall-all-plugins.md
name: reinstall-all-plugins
description: Uninstall and reinstall all Claude Code plugins to refresh cache and resolve version mismatches.
usage: /reinstall-all-plugins [--list-only] [--generate-script] [--dry-run]
disable-model-invocation: true

Reinstall All Plugins

Utility command that detects installed plugins and reinstalls them. Use when plugins have cache corruption, version mismatches, or stale hook paths.

Excluded Plugins

The following plugins are **automatically excluded** from reinstallation to prevent breaking the reinstall process:

  • **hookify**: Removing this plugin during reinstall can break hook execution

Modes

| Flag | Behavior | |------|----------| | (default) | Execute reinstall directly via Python script | | `--list-only` | Generate copy-paste commands for manual execution | | `--generate-script` | Generate `/tmp/reinstall-plugins.sh` for terminal execution | | `--dry-run` | Show what would be done without executing |

Execution

Run the reinstall script:

Bash("python3 /home/alext/claude-night-market/plugins/leyline/scripts/reinstall_all_plugins.py")

For list-only mode:

Bash("python3 /home/alext/claude-night-market/plugins/leyline/scripts/reinstall_all_plugins.py --list-only")

For script generation:

Bash("python3 /home/alext/claude-night-market/plugins/leyline/scripts/reinstall_all_plugins.py --generate-script")

For dry-run:

Bash("python3 /home/alext/claude-night-market/plugins/leyline/scripts/reinstall_all_plugins.py --dry-run")

Output

The script will: 1. Read `~/.claude/plugins/installed_plugins_v2.json`, or `installed_plugins.json` when only the v1 file exists 2. Categorize plugins (reinstallable vs excluded) 3. Uninstall each reinstallable plugin 4. Reinstall each plugin 5. Report success/failure summary

After Reinstall

**Restart Claude Code** to apply the reinstalled plugins.

Troubleshooting

Plugin fails to reinstall

  • **Local plugins**: validate source directory still exists
  • **Remote plugins**: Check network connectivity
  • **Version mismatch**: Plugin may have been removed

from marketplace

  • **Git timeout**: If reinstall fails with timeout errors

on large repos or slow networks, increase the git timeout via environment variable:

  export CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS=240000  # 4 minutes

The default is 120s (increased from 30s in 2.1.51).

Hooks still reference old paths

After reinstall, if hooks still fail: 1. Check `~/.claude/plugins/cache/` for stale directories 2. Manually remove orphaned cache entries 3. Restart Claude Code

npm registry plugins (2.1.51+)

Plugins installed from npm sources now support custom registries and specific version pinning. If your organization uses a private npm registry, plugins can be installed from it directly.

Read more
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

343200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
343
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other commands on claude-night-market.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command