env.set
A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Plugins and hooks gain new permission scopes: session.usage, settings.read, env.get, env.set
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.267.
In the changelogs
6Releases whose published page names env.set.
-
v2.1.299
Plugin hook modules get more events and organization policy limits
Plugin hook modules can respond to more events, while plugins people install themselves face limits where an organization manages Claude Code
found in this entry's text
-
v2.1.299
Plugins gain entries for logging and environment variables
The plugin runtime's list next to tool.register and tool.list now also includes ui.log, env.get and env.set
found in this entry's text
-
v2.1.267
New plugin/hook capability scopes: session.usage, settings.read, env.get, env.set
Plugins and hooks gain new permission scopes: session.usage, settings.read, env.get, env.set
found in this entry's text, named in this entry
-
v2.1.267
Plugin API gains fs.read/write/list rename plus new settings.read, env.get, env.set
Claude Code's plugin API renames its file actions and adds settings.read, env.get and env.set
found in this entry's text
-
v2.1.267
Plugin/hook capability namespace gains session and env access
Hooks and plugins can now access session usage stats and read/write environment variables
found in this entry's text
-
v2.1.267
Plugin hook system gains matcher/argument-shape validation and size-limited ui.message data
Plugin hooks now get validation errors for malformed matchers, disallowed edits, and oversized ui.message data
found in this entry's text
First cited
1The earliest release whose published evidence quoted env.set was v2.1.267, 9 Sep 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.