Plugin configs break when username differs across machines

Resolved 💬 2 comments Opened Mar 7, 2026 by tom-pang Closed Mar 8, 2026

Problem

Plugin metadata in installed_plugins.json uses absolute paths for projectPath and installPath (e.g. /Users/tpang/.claude/plugins/cache/...). If you develop on multiple machines with different usernames (e.g. tpang on one, tcrayford on another), syncing dotfiles between them breaks plugin resolution because the paths don't exist on the other machine.

Affected files

  • ~/.claude/plugins/installed_plugins.jsonprojectPath and installPath fields

Expected behavior

Plugin paths should be relative to $HOME or ~/.claude/ so they're portable across machines with different usernames. Alternatively, resolve paths at load time rather than storing absolute paths.

Workaround

Reinstall plugins on each machine individually via /plugin install, or manually edit installed_plugins.json to fix paths after syncing.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗