[FEATURE] Prefix your environment variables with some namespace

Resolved 💬 3 comments Opened Oct 31, 2025 by nickolay-kondratyev Closed Jan 10, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

There are multiple environment variables right now that do NOT have a namespace (See https://docs.claude.com/en/docs/claude-code/settings) Example DISABLE_AUTOUPDATER.

Please prefix such varaibles with a namespace like CLAUDE_CODE__DISABLE_AUTOUPDATER.

Proposed Solution

Add new set of envinment variables with a namespace that can allow users to set env variables specific to claude code.

While claude code can respect both the old namespaceless environment variables and then new namespaced variables. Reference the new variables from the old varaibles documentation.

For example:

  • Add CLAUDE_CODE__DISABLE_AUTOUPDATER and allow claude code to disable auto udpates if either DISABLE_AUTOUPDATER or CLAUDE_CODE__DISABLE_AUTOUPDATER. BY now this could create confusion though... So at leaste prefix namespace to any new environment variables that are being chosen.

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗