Official marketplace auto-install fails silently with 'unknown' reason on Windows
Resolved 💬 3 comments Opened Feb 5, 2026 by kimseokho1226 Closed Feb 9, 2026
Bug Description
On every startup, Claude Code displays:
Failed to install Anthropic marketplace · Will retry on next startup
This message persists across restarts and never resolves on its own.
Root Cause Analysis
After investigating the minified cli.js, the issue is in the tengu_official_marketplace_auto_install logic:
- Claude Code tries to auto-install the official marketplace with key
"claude-plugins-official"from{source: "github", repo: "anthropics/claude-plugins-official"} - The installation attempt (
mv(SxA)) fails and falls into the genericcatchblock - The failure is recorded with
reason: "unknown"and triggers the warning notification - On next startup, it retries and fails again (up to
MAX_ATTEMPTS: 10with exponential backoff)
The catch block only logs the error internally but the notification shown to the user gives no actionable information — just "Will retry on next startup."
Environment
- Claude Code version: 2.1.32
- OS: Windows 11 (native, not WSL)
- Node.js: v22+ via nvm4w
- Git: Available and working
Workaround
Manually registering "claude-plugins-official" in ~/.claude/plugins/known_marketplaces.json causes the auto-install check to return "already_installed" and skip the failing installation:
{
"claude-plugins-official": {
"source": {
"source": "github",
"repo": "anthropics/claude-plugins-official"
},
"installLocation": "C:\Users\<user>\.claude\plugins\marketplaces\anthropics-skills",
"lastUpdated": "2026-01-31T00:54:00.000Z",
"autoUpdate": false
}
}
Suggestions
- The error notification should include the actual failure reason (from the
catchblock) instead of just "Will retry" - The env var
CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALLshould be documented for users who want to opt out - After
MAX_ATTEMPTS(10) failures, the auto-install should stop retrying permanently instead of resetting - Consider checking if git clone of
anthropics/claude-plugins-officialactually works before attempting the install
Steps to Reproduce
- Fresh install Claude Code 2.1.32 on Windows
- Start Claude Code
- Observe "Failed to install Anthropic marketplace · Will retry on next startup" warning
- Restart — same warning appears each time
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗