Answer: The settings that can only be configured via environment variables are the runner settings listed under "Environment-variable-only settings": SELF_HOSTED_RUNNER_BG_RESULT_GRACE_MS, SELF_HOSTED_RUNNER_HOST_CONFIG_DIR, SELF_HOSTED_RUNNER_MAX_LIFETIME_GRACE_MS, SELF_HOSTED_RUNNER_POST_TURN_SETTLE_MS, SELF_HOSTED_RUNNER_SIGKILL_GRACE_MS, CLAUDE_RUNNER_DISABLE_RENEWAL_WARNING, CLAUDE_RUNNER_FETCH_DEPTH, CLAUDE_RUNNER_FETCH_SERVER_PROGRESS_CAP_MS, CLAUDE_RUNNER_SKIP_GIT_VERIFY, FORCE_AUTOUPDATE_PLUGINS, and CLAUDE_CODE_DISABLE_ARTIFACT. Status: Confirmed Entry: tool/claude-code/settings/self-hosted-env-var-only-settings Revision: 1 Digest: sha256:b14ae93c3a72ff5e (changes whenever the content changes) Timeline: Created: 2026-11-15T12:25:20Z Last changed: 2026-11-15T12:25:20Z Last verified: 2026-11-20T12:25:05Z Next check: 2026-11-21T12:25:05Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of Section heading | Environment-variable-only settings | | [1] | 2026-11-20 Scope statement | These runner settings are read from the environment only | | [1] | 2026-11-20 SELF_HOSTED_RUNNER_BG_RESULT_GRACE_MS default | 30000 | milliseconds | [1] | 2026-11-20 SELF_HOSTED_RUNNER_HOST_CONFIG_DIR default | ~/.claude | | [1] | 2026-11-20 SELF_HOSTED_RUNNER_MAX_LIFETIME_GRACE_MS default | 900000 | milliseconds | [1] | 2026-11-20 SELF_HOSTED_RUNNER_POST_TURN_SETTLE_MS default | 7000 | milliseconds | [1] | 2026-11-20 SELF_HOSTED_RUNNER_SIGKILL_GRACE_MS default | 30000 | milliseconds | [1] | 2026-11-20 CLAUDE_RUNNER_FETCH_DEPTH default | 50 | | [1] | 2026-11-20 Sources: [1] Anthropic. "Self-hosted environments reference". https://code.claude.com/docs/en/self-hosted-environments-reference.md Role: primary. Accessed: 2026-11-20T12:25:05Z Quote: "## Environment-variable-only settings" (Supports: Section heading) Quote: "These runner settings are read from the environment only and cover behavior most deployments leave at the default:" (Supports: Scope statement) Quote: "| `SELF_HOSTED_RUNNER_BG_RESULT_GRACE_MS` | `30000` |" (Supports: SELF_HOSTED_RUNNER_BG_RESULT_GRACE_MS default) Quote: "| `SELF_HOSTED_RUNNER_HOST_CONFIG_DIR` | `~/.claude` |" (Supports: SELF_HOSTED_RUNNER_HOST_CONFIG_DIR default) Quote: "| `SELF_HOSTED_RUNNER_MAX_LIFETIME_GRACE_MS` | `900000` |" (Supports: SELF_HOSTED_RUNNER_MAX_LIFETIME_GRACE_MS default) Quote: "| `SELF_HOSTED_RUNNER_POST_TURN_SETTLE_MS` | `7000` |" (Supports: SELF_HOSTED_RUNNER_POST_TURN_SETTLE_MS default) Quote: "| `SELF_HOSTED_RUNNER_SIGKILL_GRACE_MS` | `30000` |" (Supports: SELF_HOSTED_RUNNER_SIGKILL_GRACE_MS default) Quote: "| `CLAUDE_RUNNER_FETCH_DEPTH` | `50` |" (Supports: CLAUDE_RUNNER_FETCH_DEPTH default) Published: 2026-11-20T03:01:11Z Snapshot SHA-256: 3f98bfb29bfce79fa7172ed86e739d38957dbe6607a57928e83e5c9c0f6b0073 (captured 2026-11-20T12:25:03Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:25:05Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:25:05Z Last attempt: 2026-11-20T12:25:05Z Notes and limitations: Extracted automatically from a single official source (section "Environment-variable-only settings"). Related: https://latestn.com/tool/claude-code/settings/session-identity-env-vars Which environment variables are related to Claude Code self-hosted session identity verification? https://latestn.com/tool/claude-code/settings/set-cloud-environment-variables How do I set environment variables for a Claude Code cloud environment? https://latestn.com/tool/claude-code/settings/set-environment-variables How do I set environment variables for Claude Code in my shell or in a settings file? https://latestn.com/tool/claude-code/settings/reenable-lsp-recommendations How do I turn code intelligence plugin recommendations back on in Claude Code? https://latestn.com/tool/claude-code/settings/region-configuration How do I configure the region for Claude Code on Google Cloud's Agent Platform? https://latestn.com/tool/claude-code/settings/reserved-marketplace-names What are the reserved marketplace names in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-15T12:25:20Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/settings/self-hosted-env-var-only-settings/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/settings/self-hosted-env-var-only-settings POST: https://latestn.com/dispute/tool/claude-code/settings/self-hosted-env-var-only-settings with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/settings/self-hosted-env-var-only-settings?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which settings for Claude Code self-hosted environments can only be configured via environment variables? Revision 1, last verified 2026-11-20T12:25:05Z. https://latestn.com/tool/claude-code/settings/self-hosted-env-var-only-settings (accessed 2026-11-21T09:56:58Z). @misc{LatestN_tool_claude_code_settings_self_hosted_env_var_only_settings_r1, title = {Which settings for Claude Code self-hosted environments can only be configured via environment variables?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/settings/self-hosted-env-var-only-settings}}, note = {Revision 1; digest sha256:b14ae93c3a72ff5e; last verified 2026-11-20T12:25:05Z; accessed 2026-11-21T09:56:58Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/settings/self-hosted-env-var-only-settings