env.get
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
12Releases whose published page names env.get.
-
v2.1.317
Two internal name lists in Claude Code each gain an entry
A list holding command.describe, env.get and prompt.section now also holds tool.describe, and a list of input sources gains a mid-turn prompt entry
found in this entry's text
-
v2.1.312
Remote clients can ask to start a shell task, and a hooks list grows
A new request lets a connected program start a shell task, and a list in the hooks runtime now holds five event names instead of two
found in this entry's text
-
v2.1.311
Hooks runtime skips needless work, with two variables to turn this off
The hooks runtime now skips work when only default handlers apply; two environment variables switch the shortcuts off
found in this entry's text
-
v2.1.310
Workflow scripts can now read environment variables and wait on a timer
The script runtime now allows two more calls, clock.after and env.get, for timed delays and reading environment variables
found in this entry's text
-
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.280
Builtin hooks-module capability manifests expanded
Builtin plugin hook modules were granted access to more host calls, including two new environment variables
found in this entry's text
-
v2.1.277
Hook manifest scan capability list expanded
The 'scan' hook set's allowed capabilities were expanded and ui.toast was removed
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, named in this entry
-
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.get 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.