[BUG] Plugin install uses /home/ instead of /Users/ on macOS

Resolved 💬 3 comments Opened Jan 16, 2026 by applesnort Closed Jan 19, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Steps to Reproduce:

When attempting to install a plugin from a marketplace on macOS, the installer
looks for the source path using /home/username/ instead of the correct macOS home
directory /Users/username/.

Error Message:

Error: Failed to install: Source path does not exist: /home/username/.claude/plugins/m
arketplaces/claude-plugins-official/external_plugins/context7

### Expected Behavior:

The path should resolve to:
/Users/username/.claude/plugins/marketplaces/claude-plugins-official/external_plugins/
context7

Actual Behavior:

The installer uses Linux-style home path /home/username/ instead of macOS-style
/Users/username/.

Environment:

  • OS: macOS (Darwin 24.6.0)
  • Claude Code version: 2.1.7
  • Shell: zsh

Verification:

The plugin files exist at the correct macOS path:
$ find ~/.claude/plugins/marketplaces -name "context7" -type d
/Users/username/.claude/plugins/marketplaces/claude-plugins-official/external_plugins/
context7

Workaround:

Creating a symlink from the incorrect path to the correct one allows installation
to proceed:
sudo mkdir -p /home/username/.claude/plugins/marketplaces
sudo ln -s /Users/username/.claude/plugins/marketplaces/claude-plugins-official
/home/username/.claude/plugins/marketplaces/claude-plugins-official

What Should Happen?

The path should resolve to:
/Users/username/.claude/plugins/marketplaces/claude-plugins-official/external_plugins/
context7

Error Messages/Logs

Steps to Reproduce

Error: Failed to install: Source path does not exist: /home/username/.claude/plugins/m
arketplaces/claude-plugins-official/external_plugins/context7

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.7

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

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