Troubleshoot plugins changedplugins/troubleshooting
Upstream edited this page at 25 Oct 2026 15:01 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 30 Oct 2026 18:07 UTC.
Upstream edited
Recorded here
Lines+22added
Lines−22removed
From line
298
where the diff opens
First seen
25 Sep 2026
this site's first read of the page
Recorded edits36to this page, all time
The whole hunk
from line 298, old and new numbered
/
from line 298
298298
299299Cloning a marketplace, and re-cloning one to update it, gets 120 seconds by default. For a large repository or a slow connection, raise the limit. The value is in milliseconds:
300300
301**Bash or Zsh**
301> [tab] Bash or Zsh
302>
303> ```bash theme={null}
304> export CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS=300000
305> ```
302306
303```bash theme={null}
304export CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS=300000
305```
307> [tab] PowerShell
308>
309> ```powershell theme={null}
310> $env:CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS = "300000"
311> ```
306312
307**PowerShell**
308
309```powershell theme={null}
310$env:CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS = "300000"
311```
312
313313Then retry in the same shell.
314314
315315If the repository is a monorepo, limit the checkout to the directories you name with `claude plugin marketplace add <source> --sparse <paths>`.
from line 324
324324
325325Set this variable to skip the re-clone attempt and keep using the existing checkout when the check can't reach the host:
326326
327**Bash or Zsh**
327> [tab] Bash or Zsh
328>
329> ```bash theme={null}
330> export CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1
331> ```
328332
329```bash theme={null}
330export CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1
331```
332
333**PowerShell**
334
335```powershell theme={null}
336$env:CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE = "1"
337```
333> [tab] PowerShell
334>
335> ```powershell theme={null}
336> $env:CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE = "1"
337> ```
338338
339339With the variable set, Claude Code skips the re-clone only for a checkout that already contains `.claude-plugin/marketplace.json`. A marketplace that was never cloned or whose clone stopped partway still gets the clone attempt, so add it once while online.
340340
No line in this hunk matches that.