Plugin installation uses incorrect home directory path on macOS (/home/<truncated_username> instead of /Users/<username>)
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 2 comments · opened Mar 11, 2026 · closed Apr 9, 2026
Description
The plugin system resolves the home directory incorrectly on macOS, causing all plugin operations (install, refresh, autoupdate) to fail.
Expected path: /Users/dawumnam/.claude/plugins/...
Actual path used: /home/dawum/.claude/plugins/...
Two issues:
- Uses
/home/(Linux convention) instead of/Users/(macOS convention) - Username is truncated —
dawuminstead ofdawumnam
Environment
- OS: macOS (Darwin 25.3.0)
- Shell: zsh
$HOME:/Users/dawumnam(correctly set)$USER:dawumnam(correctly set)
Steps to reproduce
- Open Claude Code on macOS
- Go to Plugins > Marketplaces > claude-plugins-official
- Attempt to install any plugin (e.g.,
typescript-lsp)
Error
Error: Failed to install: Source path does not exist: /home/dawum/.claude/plugins/marketplaces/claude-plugins-official/plugins/typescript-lsp
Debug logs
[WARN] Cache corrupted or missing for marketplace claude-plugins-official, re-fetching from source: ENOENT: no such file or directory, open '/home/dawum/.claude/plugins/marketplaces/claude-plugins-official'
[ERROR] Failed to refresh marketplace claude-plugins-official: Failed to clone marketplace repository: fatal: could not create leading directories of '/home/dawum/.claude/plugins/marketplaces/claude-plugins-official': Operation not supported
Workaround attempted
Creating a symlink at /home/dawum/.claude → /Users/dawumnam/.claude is not possible because macOS manages /home via autofs, which blocks directory creation even with sudo.
Notes
The marketplace repo itself is correctly cloned to /Users/dawumnam/.claude/plugins/marketplaces/claude-plugins-official/, so some part of the system resolves $HOME correctly while the plugin install/refresh logic does not.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗