⌨️CLAUDE_CODE_PLUGIN_CACHE_DIR
Also known as CLAUDE_CODE_PLUGIN_CACHE_DIR=/srv/claude-plugins
It moves the whole plugins folder, not just the cache.
Think of it like
It is like you move the whole shelf, not just one box on it.
Example
Jack's home folder has little space, and plugins fill it. He moves the plugins folder to a bigger disk.
Why it matters
Plugins and their marketplaces can grow large. This lets them live where there is room.
Definition
Example code
bash
export CLAUDE_CODE_PLUGIN_CACHE_DIR=/srv/claude-plugins
claudeCommon mistake
Key takeaways
- 1Whole plugins folder. Not just cache.
- 2Default. ~/.claude/plugins.
- 3Holds marketplaces. And the cache.