Plugin installer uses /home/<username> instead of actual $HOME for non-standard home directories
Resolved 💬 3 comments Opened Feb 18, 2026 by kleinmatic Closed Feb 21, 2026
Description
When installing a plugin from the official marketplace, the plugin installer constructs the source path using /home/<username> instead of the user's actual home directory. This fails on systems where the home directory is not under /home/.
Environment
- Claude Code version: 2.1.45
- OS: Linux (aarch64)
- Shell: zsh
- Home directory: A non-standard path (not under
/home/, e.g./data/myuser)
Steps to reproduce
- Have a Linux user whose home directory is not under
/home/(e.g.,/data/myuser— correctly set in both$HOMEand/etc/passwd) - Run
/plugin install claude-md-management@claude-plugins-official
Expected behavior
The installer should resolve the plugin source path using the actual home directory ($HOME or the value from getent passwd).
Actual behavior
Error: Failed to install: Source path does not exist: /home/myuser/.claude/plugins/marketplaces/claude-plugins-official/plugins/claude-md-management
The marketplace data is correctly stored at the real home directory, but the installer hardcodes or incorrectly resolves the home to /home/<username>.
Additional context
$HOMEis correctly set to the non-standard path/etc/passwdalso has the correct home directory- The marketplace was successfully synced to the correct path under the real
$HOME - Only the plugin install step uses the wrong
/home/<username>path - Workaround:
sudo ln -s /data/myuser /home/myuser
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗