Docs: Add All Environment Variables from Changelog and Docs to Settings Page
Title: Docs: Add All Environment Variables from Changelog and Docs to Settings Page
Labels: documentation, good first issue
Description
First off, thank you for creating such a powerful and configurable tool.
I've noticed that many useful environment variables are mentioned in the changelog and across various documentation pages, but they haven't been consolidated into the main environment variable table on the official settings page (en/docs/claude-code/settings).
This makes it difficult for users to discover and utilize the full range of configuration options without parsing the entire changelog or stumbling upon them in other articles. Centralizing this information would greatly improve discoverability and the overall user experience.
Missing Environment Variables
Based on a review of the changelog and documentation, the current list on the settings page is missing numerous variables. Here are some of the most critical omissions, grouped by functionality:
- General & Debugging:
ANTHROPIC_LOG: Mentioned on thebedrock-vertex-proxiespage for debugging (export ANTHROPIC_LOG=debug) and in the changelog forv0.2.125.DISABLE_INTERLEAVED_THINKING: Introduced in changelogv1.0.1to allow users to opt-out of the interleaved thinking UI.
- Model Control:
ANTHROPIC_DEFAULT_SONNET_MODEL: Introduced in changelogv1.0.88to control thesonnetmodel alias.ANTHROPIC_DEFAULT_OPUS_MODEL: Introduced in changelogv1.0.88to control theopusandopusplanmodel aliases.
- Cloud Provider Integration (Critical Omissions):
AWS_REGION: Described as a required variable on theamazon-bedrocksetup page, but is absent from the central list.CLOUD_ML_REGION: Required for Vertex AI setup, but not listed.ANTHROPIC_VERTEX_PROJECT_ID: Also required for Vertex AI, but not listed.DISABLE_PROMPT_CACHING: A key performance flag mentioned for both Bedrock and Vertex, but missing from the table.
- Gateway & Proxy Integration:
ANTHROPIC_BASE_URL: Critical for configuring LLM Gateways, as shown on thellm-gatewaypage.ANTHROPIC_BEDROCK_BASE_URL/ANTHROPIC_VERTEX_BASE_URL: Provider-specific versions for gateways are also missing.
- Monitoring & Telemetry:
CLAUDE_CODE_ENABLE_TELEMETRY: The primary switch for enabling OpenTelemetry is not documented in the main table.- The
monitoring-usagepage documents an entire suite ofOTEL_*variables for fine-grained control, none of which are on the central settings page.
- IDE & Shell Configuration:
CLAUDE_CODE_AUTO_CONNECT_IDE: Introduced in changelogv1.0.61for disabling automatic IDE connection.CLAUDE_CODE_SHELL_PREFIX: Introduced in changelogv1.0.61for wrapping shell commands.CLAUDE_CODE_GIT_BASH_PATH: An important variable for Windows users, mentioned on thesetuppage.
Proposed Solution
- Conduct a thorough review of the changelog and all documentation pages to compile a complete, canonical list of all supported environment variables.
- Update the main table on the
/en/docs/claude-code/settingspage to include all of these missing variables. - Ensure each variable has a clear and concise description of its purpose and, where applicable, a link to the relevant guide (e.g., Monitoring, Bedrock Setup).
Having a single, comprehensive list of all supported environment variables would be a fantastic resource for both new and advanced users.
Thanks for your consideration.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗