CLAUDE_PLUGIN_OPTION_

Updated by

CLAUDE_PLUGIN_OPTION_ is a Claude Code environment variable: A prefix-style variable (note the trailing underscore) for passing configuration options to installed plugins. This follows the pattern of CLAUDE_PLUGIN_OPTION_<PLUGIN_NAME>=<value>, allowing users to configure plugin behavior through environment variables without modifying settings files. Its release history is not tracked here. It is not in the official reference.

StatusPresent in v2.1.332
CategoryPlugins and skills
Official docsNot listed

How to set it

For one session, export it in the shell that starts Claude Code:

export CLAUDE_PLUGIN_OPTION_=<value>
claude

To apply it to every session, add it to the env object of a settings file:

// ~/.claude/settings.json
{
  "env": {
    "CLAUDE_PLUGIN_OPTION_": "<value>"
  }
}

Related variables

Frequently asked questions

What does CLAUDE_PLUGIN_OPTION_ do?

A prefix-style variable (note the trailing underscore) for passing configuration options to installed plugins. This follows the pattern of CLAUDE_PLUGIN_OPTION_<PLUGIN_NAME>=<value>, allowing users to configure plugin behavior through environment variables without modifying settings files.

Which Claude Code version has CLAUDE_PLUGIN_OPTION_?

Its release history is not tracked here.

How do I set CLAUDE_PLUGIN_OPTION_?

Export it before starting Claude Code (export CLAUDE_PLUGIN_OPTION_=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.

All variables, searchable: Claude Code environment variables.