679 pages for env.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…key Copy a key from the Microsoft Foundry portal, then set it as an environment variable: 1. Go to your resource in the Microsoft Foundry portal 2. Open the **Endpoints and keys** section 3. Copy *…
Claude Code on mobile
Claude Code CLI · in the page
mobile
…or review comments as they arrive. To connect GitHub and set up your environment, follow the [cloud quickstart](/docs/en/web-quickstart.md), and see [Use Claude Code in the cloud](/docs/en/claude-cod…
Model configuration
Claude Code CLI · in the page
model-config
…l model name, for example `claude-opus-5-5`, or set the corresponding environment variable like `ANTHROPIC_DEFAULT_OPUS_MODEL`. > [!NOTE] > > Sonnet 5.5 requires Claude Code v2.1.284 or later, and Op…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…claude/opentelemetry). ## Quick start Configure OpenTelemetry using environment variables: ```bash theme={null} # 1. Enable telemetry export CLAUDE_CODE_ENABLE_TELEMETRY=1 # 2. Choose exporters (b…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…erprise network configuration > Configure Claude Code for enterprise environments with proxy servers, custom Certificate Authorities (CA), and mutual Transport Layer Security (mTLS) authentication.…
Output styles
Claude Code CLI · in the page
output-styles
…rely on the field, set [`CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT`](/docs/en/env-vars#variables) to `0`, which selects the full prompt on any model. Output styles apply to the main conversation and to a [fo…
Overview
Claude Code CLI · in the page
overview
…pts you to log in on first use. 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. [Continu…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…s/en/sandboxing.md) and outer [isolation boundaries](/docs/en/sandbox-environments.md) decide what an action can reach once it runs. Each row below pairs a goal with the flags or settings that get you…
Configure permissions
Claude Code CLI · in the page
permissions
…h-bypasspermissions-mode) still apply. Only use this mode in isolated environments like containers or VMs where Claude Code can't cause damage. To prevent `bypassPermissions` or `auto` mode from bein…
Platforms and integrations
Claude Code CLI · in the page
platforms
…n Pro and Max plans | PRs and reviews from team chat | | [Self-hosted environments](/docs/en/self-hosted-environments) | Start a [cloud session](/docs/en/claude-code-on-the-web.md) and pick your organ…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…mal sessions, because each run inherits them from that shell as the [`env` field](#prompt-md-fields) describes. ## How an eval run works An eval suite lives in a directory called `evals/` inside you…
Recommend your plugin from your CLI
Claude Code CLI · in the page
plugins/cli-hints
…de itself starts. Use it when you can require v2.1.172 or later The [environment variables reference](/docs/en/env-vars.md) has the details. The following examples gate on `CLAUDECODE` for the wides…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…laude -p`, Claude Code replies that `/plugin` isn't available in this environment. For which surfaces have `/plugin`, how to install without it, and what each panel tab shows, see [Install and manage…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…hooting.md#failed-to-load-hooks-from-and-hooks-that-dont-fire). #### Environment, quoting, and matching MCP tools The hook's environment, the quoting of `${CLAUDE_PLUGIN_ROOT}`, and matchers for the…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…disk with `--plugin-dir`, from a URL with `--plugin-url`, or from an environment variable when you can't add a flag. Each plugin loads for that session only, and nothing is written to your settings f…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…tate. If a user sets `GITHUB_TOKEN` or another provider token in the environment, that alone doesn't authenticate the background check. A token takes effect through a credential helper, such as the `…
Install and manage plugins
Claude Code CLI · in the page
plugins/install
…manage-plugins). **Cloud session** A [cloud session](/docs/en/cloud-environments.md), including [the browser at claude.ai/code](/docs/en/claude-code-on-the-web.md), has no plugin browser and doesn't…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…ugin-dir` or `--plugin-url`, set [`CLAUDE_CODE_PLUGIN_DIRS`](/docs/en/env-vars#variables), or an Agent SDK app passed the `plugins` option. It loads for that session only | On for the session unless t…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…ith its type and default, accepted path forms, and the userConfig and environment variable schemas. A plugin manifest is the `plugin.json` file in a plugin's `.claude-plugin/` directory. It carries t…
Measure plugin cost and usage
Claude Code CLI · in the page
plugins/measure
…L_DETAILS`](/docs/en/monitoring-usage#common-configuration-variables) environment variable to `1` on the machines that export telemetry, for example in the `env` block of the same [managed settings](/…
Manage mods for your organization
Claude Code CLI · in the page
plugins/mods/admin
…/plugins/mods/api#reach-files-processes-and-the-network). With `Read(.env)` denied, a mod can still read that file with `$.fs.read` or start a program that does. To limit a mod's own `$.fs` and `$.pro…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…ON key-value store of your plugin's own, kept between sessions | | `$.env` | `get` and `set` environment variables. Write the name as a string literal. | | `$.settings` | `read` what the settings file…
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…
Interface gallery for mods
Claude Code CLI · in the page
plugins/mods/gallery
…n.md), and not while [`CLAUDE_CODE_ALT_SCREEN_FULL_REPAINT`](/docs/en/env-vars) is set to `1`. To see the picture, run `/tui fullscreen` at the Claude Code prompt and leave that variable unset. * **A…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…1.299 or later. A session that [doesn't fetch feature flags](/docs/en/env-vars.md#features-that-need-feature-flag-fetching), such as one on Amazon Bedrock, needs 2.1.304 or later. In a `ui.render` hoo…
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`](/docs/en/plugins/mods/a…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…way) session, see [Features that need feature-flag fetching](/docs/en/env-vars.md#features-that-need-feature-flag-fetching). ## An edit or a value is lost The mod runs, and a change you made or a va…
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
…der base-URL override such as [`ANTHROPIC_BEDROCK_BASE_URL`](/docs/en/env-vars), what stays cached depends on how the gateway handles the [`cache_control` markers](https://platform.claude.com/docs/en/…
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](/docs/en/mcp.md), tools, and project configuration all stay available, and…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…-managed cloud infrastructure, or on your organization's [self-hosted environment](/docs/en/self-hosted-environments) when routed there, so they keep working when your laptop is closed. Each schedule…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…dev containers, custom containers, and virtual machines, see [Sandbox environments](/docs/en/sandbox-environments.md) > * To reduce permission prompts for tools other than Bash, see [permission modes]…
Run prompts on a schedule
Claude Code CLI · in the page
scheduled-tasks
…pt) work on every provider, and with [feature-flag fetching](/docs/en/env-vars.md#features-that-need-feature-flag-fetching) turned off. On Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent…
Security
Claude Code CLI · in the page
security
…ols are in place. Sessions your organization routes to a [self-hosted environment](/docs/en/self-hosted-environments) run on your own infrastructure, where isolation, network egress, and git credentia…
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
…sions](/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
…ing it again, unless [`CLAUDE_CODE_RESUME_INTERRUPTED_TURN`](/docs/en/env-vars#variables) is set. * Model: the session continues on the model it was using, except in the cases in [Setting your model](…
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…
Example settings files
Claude Code CLI · in the page
settings-example
…bles](/docs/en/settings-reference.md#variables-claude-code-ignores-in-env) in a repository's settings files, apart from some values that turn telemetry off. Set them in [managed settings](/docs/en/mon…
All settings
Claude Code CLI · in the page
settings-reference
…ur `availableModels` allowlist | Model and responses | Any file | | [`env`](#env) | Set [environment variables](/docs/en/env-vars.md#in-settings-files) for every session and its subprocesses | Memory…
Advanced setup
Claude Code CLI · in the page
setup
…gs.json file](/docs/en/settings.md): ```json theme={null} { "env": { "CLAUDE_CODE_GIT_BASH_PATH": "C:\\Program Files\\Git\\bin\\bash.exe" } } ``` When Git for Windows is instal…
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
…subagents, set [`CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTS=1`](/docs/en/env-vars). Claude reads and explores files directly instead of delegating to them. Requires Claude Code v2.1.198 or later. * In [n…