Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

582 pages for environment.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …` | Makes network requests | | `$.env.get`, `$.settings.read` | Reads environment variables and settings, which can hold API keys. An `env reads:` line in the output names each variable. | | `$.env.se… Use the mods API Claude Code CLI · in the page plugins/mods/api …our plugin's own, kept between sessions | | `$.env` | `get` and `set` environment variables. Write the name as a string literal. | | `$.settings` | `read()` resolves to all settings, merged into one o… Create a mod Claude Code CLI · in the page plugins/mods/create …ls:` for every mods API method it calls. If your module reads or sets environment variables, look for `env reads:` and `env writes:` lines too, and `state reads:` and `state writes:` if it uses [`$.st… Mods overview Claude Code CLI · in the page plugins/mods/overview …n, start programs, and make network requests * **Read your secrets**: environment variables and settings files, including an API key you keep in either * **See your session**: every prompt you send an… Mods reference Claude Code CLI · in the page plugins/mods/reference …s module is about to load. `e.uses` lists its events, mods API calls, environment variables, and state, as `claude plugin validate` prints them. Each call is written without the `$.` prefix, such as `… Test a mod Claude Code CLI · in the page plugins/mods/test …s it The kit also exports ready-made mocks for the clock, the store, environment variables, and rows appended to the conversation: * **`mock.clock(on)`**: answers [`$.clock`](https://code.claude.com… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …rules aren't checked on tool calls and the `env` entries don't become environment variables. Use a [settings file](https://code.claude.com/docs/en/settings.md) for both, or [`$.env.set`](https://code.… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …`enabledPlugins` applied | | Cloud sessions | In an Anthropic-hosted environment, only server-managed settings reach the session, which waits for them before it installs plugins. MDM policies and man… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …for each shell command Claude runs: the first token after any leading environment variable assignments and `sudo`. Compound commands contribute only their leading command, so `cd infra && terraform pl… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …and spellings that don't exist. ### `/plugin isn't available in this environment` You typed `/plugin` somewhere other than a Claude Code terminal session, and Claude replied with this line instead o… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …rence#promptcachettl) setting, or the `CLAUDE_CODE_PROMPT_CACHE_TTL` [environment variable](https://code.claude.com/docs/en/env-vars.md) * **Everything else**: the [`subagentPromptCacheTtl`](https://c… Quickstart Claude Code CLI · in the page quickstart …authentication in your browser. If you've set the `ANTHROPIC_API_KEY` environment variable and you approve the key when Claude Code asks whether to use it, Claude Code skips the login prompt. You can… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …n your machine. With Remote Control you can: * **Use your full local environment remotely**: your filesystem, [MCP servers](https://code.claude.com/docs/en/mcp.md), tools, and project configuration a… Automate work with scheduled tasks Claude Code CLI · in the page routines …-managed cloud infrastructure, or on your organization's [self-hosted environment](https://code.claude.com/docs/en/self-hosted-environments) when routed there, so they keep working when your laptop is… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …dev containers, custom containers, and virtual machines, see [Sandbox environments](https://code.claude.com/docs/en/sandbox-environments.md) > * To reduce permission prompts for tools other than Bash,… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …sion-scoped scheduled tasks Set `CLAUDE_CODE_DISABLE_CRON=1` in your environment to disable the scheduler entirely. The cron tools and `/loop` become unavailable, and any already-scheduled tasks stop… Security Claude Code CLI · in the page security …ols are in place. Sessions your organization routes to a [self-hosted environment](https://code.claude.com/docs/en/self-hosted-environments) run on your own infrastructure, where isolation, network eg… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …ttern check works anywhere On first run the plugin creates a virtual environment under `~/.claude/security/` and installs the Claude Agent SDK into it, which requires `pip` and network access. If tha… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …ude.com/docs/en/model-config.md#surface-coverage) in Anthropic-hosted environments, so organizations whose developers run cloud sessions should configure server-managed settings as well. Sessions in a… Manage sessions Claude Code CLI · in the page sessions …` | [`CLAUDE_CONFIG_DIR`](https://code.claude.com/docs/en/env-vars) | Environment variable | | [Name the `<project>` directory yourself](#name-the-project-directory-yourself) | [`CLAUDE_CODE_PROJECT_D… Claude Code settings Claude Code CLI · in the page settings …> Configure Claude Code with global and project-level settings, and environment variables. Claude Code offers a variety of settings to configure its behavior to meet your needs. You can configure C… All settings Claude Code CLI · in the page settings-reference …` allowlist | Model and responses | Any file | | [`env`](#env) | Set [environment variables](https://code.claude.com/docs/en/env-vars.md#in-settings-files) for every session and its subprocesses | Mem… Advanced setup Claude Code CLI · in the page setup …following the browser prompts. If you've set the `ANTHROPIC_API_KEY` environment variable and you approve the key when Claude Code asks whether to use it, Claude Code skips the login prompt. See [Aut… Extend Claude with skills Claude Code CLI · in the page skills …bleBundledSkills` is on. To hide it, set the `DISABLE_DOCTOR_COMMAND` environment variable or a [`skillOverrides`](#override-skill-visibility-from-settings) entry of `"doctor": "off"`. Bundled skills… Claude Code in Slack Claude Code CLI · in the page slack …for your account" This error means your Claude account has no cloud environment yet. Sign in at [claude.ai/code](https://claude.ai/code) once with the same account you connected to Slack and finish… Customize your status line Claude Code CLI · in the page statusline …terminal size from inside the script. Read the `COLUMNS` and `LINES` environment variables instead. Claude Code sets these to the current terminal dimensions before running your script. ## Available… Create custom subagents Claude Code CLI · in the page sub-agents …r what Claude Code does with a value it can't load, and the flags and environment variable that skip that check, see [`Invalid --agents configuration`](https://code.claude.com/docs/en/errors#invalid-a… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …didnt-finish-starting). You can also set the `CLAUDE_CODE_NO_FLICKER` environment variable before starting Claude Code: ```bash Bash and Zsh theme={null} CLAUDE_CODE_NO_FLICKER=1 claude ``` ```power… Enterprise deployment overview Claude Code CLI · in the page third-party-integrations …n-the-web.md) on compute your organization operates, see [self-hosted environments](https://code.claude.com/docs/en/self-hosted-environments). If your organization has specific infrastructure require… Tools reference Claude Code CLI · in the page tools-reference …tion-tool-behavior) | No | | `Bash` | Executes shell commands in your environment. See [Bash tool behavior](#bash-tool-behavior) | Yes | | `CronCreate` | Schedules a recurring or one-shot prompt withi… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …y to your User PATH: > > ```powershell theme={null} > $currentPath = [Environment]::GetEnvironmentVariable('PATH', 'User') > [Environment]::SetEnvironmentVariable('PATH', "$currentPath;$env:USERPROFIL… Troubleshooting Claude Code CLI · in the page troubleshooting …r memory usage Claude Code is designed to work with most development environments, but may consume significant resources when processing large codebases. If you're experiencing performance issues: 1… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …ill see the sign-in prompt, VS Code may not have inherited your shell environment. Launch VS Code from a terminal with `code .` so it inherits your environment variables, or sign in with your Claude a… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …ut a local checkout For work that needs your local config, tools, or environment, running Claude Code locally or using [Remote Control](https://code.claude.com/docs/en/remote-control.md) is a better… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …o your CLI. As of v2.1.101 the first run auto-creates a default cloud environment, so there's no web setup step before you can try it. <video autoPlay muted loop playsInline src="https://mintcdn.com/… Week 17 · April 20–24, 2026 Claude Code CLI · in the page whats-new/2026-w17 …to mode: include `"$defaults"` in [`autoMode.allow`, `soft_deny`, or `environment`](https://code.claude.com/docs/en/auto-mode-config) to add custom rules alongside the built-in list instead of replaci… Week 19 · May 4–8, 2026 Claude Code CLI · in the page whats-new/2026-w19 …evel via the `effort.level` JSON input field and the `$CLAUDE_EFFORT` environment variable, and Bash tool commands can read `$CLAUDE_EFFORT``CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1` opts out of the ful… Week 20 · May 11–15, 2026 Claude Code CLI · in the page whats-new/2026-w20 …e featuresMCP stdio servers now receive `CLAUDE_PROJECT_DIR` in their environment, matching hooks, and plugin configs can reference `${CLAUDE_PROJECT_DIR}` in commands`claude plugin details <name>` sh… Week 23 · June 1–5, 2026 Claude Code CLI · in the page whats-new/2026-w23 …d as an error`claude mcp` list, get, and add no longer print secrets: environment-variable references are not expanded, and credential headers and URL secrets are redactedA failed Bash command in a pa… Week 26 · June 22–26, 2026 Claude Code CLI · in the page whats-new/2026-w26 …ng blocks sandboxed commands from reading credential files and secret environment variablesOrg-configured model restrictions now apply to the model picker, `--model`, `/model`, and `ANTHROPIC_MODEL`,… Week 29 · July 13–17, 2026 Claude Code CLI · in the page whats-new/2026-w29 …per session with a flag, per shell with the `CLAUDE_AX_SCREEN_READER` environment variable, or everywhere with the `axScreenReader` setting. Start a session in screen reader mode: ```bash terminal t… Week 32 · August 3–7, 2026 Claude Code CLI · in the page whats-new/2026-w32 …ust 3–7, 2026 > Claude Code sessions message each other, self-hosted environments run cloud sessions on your infrastructure, and auto mode becomes the default permission mode. Releases [v2.1.220 → v… Week 34 · August 17–21, 2026 Claude Code CLI · in the page whats-new/2026-w34 …claude.com/docs/en/model-config#set-a-default-model-for-new-sessions) environment variable sets the model new sessions start on; a `/model` pick still overrides it and persists across restartsWith the… Week 37 · September 7–11, 2026 Claude Code CLI · in the page whats-new/2026-w37 …de.com/docs/en/auto-mode-config.md#fix-a-denial-with-an-allow-rule-an-environment-entry-or-a-retry), such as `[Data Exfiltration]`When you type `/` partway through a prompt, you can now pick from [a l… What's new Claude Code CLI · in the page whats-new/index …other instead of you re-explaining it. Also this week: **self-hosted environments** run Claude Code cloud sessions on infrastructure your organization operates, in public beta on Team and Enterprise… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …orkflow runs The workflow runtime executes the script in an isolated environment, separate from your conversation. Intermediate results stay in script variables instead of landing in Claude's context… Run parallel sessions with worktrees Claude Code CLI · in the page worktrees …ar as untracked files in your main checkout. ### Set up the worktree environment A worktree is a fresh checkout, so initialize your development environment there: ask Claude to install dependencies,… Admin controls Claude Documentation · in the page claude-science/admin-controls …ed Modal jobs are refused. ### Organization package mirror Analysis environments install Python and conda packages from the public hosts unless a mirror is set. Members or IT can set a mirror per co… Artifacts in Claude Science Claude Documentation · in the page claude-science/artifacts …script or notebook. * **Execution Log**: every command that ran. * **Environment**: the environment name, language version, and every installed package with its version. * **Review**: findings from [… Auto mode Claude Documentation · in the page claude-science/auto-mode …on's workspace folder * Remote compute * Claude Science's package and environment tools * Any tool you set to **Ask each time**
Feedback