⌨️--plugin-dir Flag
Also known as claude --plugin-dir, --plugin-url
It loads a plugin from a folder for one session.
Think of it like
It is like you try on a coat in the shop before you buy it.
Example
Lucy is building a plugin. After each change she starts claude --plugin-dir ./my-plugin to try it. There is nothing to install or remove.
Why it matters
You can test a plugin or try someone else's without changing your setup.
Definition
Example code
bash
claude --plugin-dir ./my-pluginCommon mistake
Key takeaways
- 1Folder or .zip. One per flag.
- 2--plugin-url. From the web.
- 3This session only. Not installed.