claude-code - 💡(How to fix) Fix [BUG] Plugin installer uses incorrect (lowercased) home directory path when username contains uppercase letters or dots

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error:

Fix Action

Fix / Workaround

Workaround:

sudo ln -s $HOME /Users/<normalized-username>

Code Example

Failed to install: Source path does not exist:
/Users/<lowercased-username>/.claude/plugins/marketplaces/claude-plugins-official/plugins/<plugin-name>

---

sudo ln -s $HOME /Users/<normalized-username>
RAW_BUFFERClick to expand / collapse

Platform: macOS Darwin 25.5.0 Claude Code version: 2.1.71

Description: When installing a plugin, Claude Code resolves the home directory incorrectly when the macOS username contains uppercase letters or dots (e.g., /Users/First.Last style usernames).

Error:

Failed to install: Source path does not exist:
/Users/<lowercased-username>/.claude/plugins/marketplaces/claude-plugins-official/plugins/<plugin-name>

The installer appears to lowercase and strip dots from the username instead of using the actual $HOME path.

Expected: Plugin installer should use the correct $HOME path. Actual: Username is normalized to lowercase with dots removed, causing the resolved path to not exist.

Workaround:

sudo ln -s $HOME /Users/<normalized-username>

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Plugin installer uses incorrect (lowercased) home directory path when username contains uppercase letters or dots