{"version":"2.1.327","anchor":"desktop-app-host-env-var-consumed-and-unset","canonical_anchor":"desktop-app-host-env-var-consumed-and-unset","heading":"New environment variable marks a desktop app as the host","tier":"use","area":"Desktop App","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/desktop-app-host-env-var-consumed-and-unset","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### New environment variable marks a desktop app as the host\n\n`CLAUDE_CODE_REMOTE_TOOLS_DESKTOP_APP_HOST` marks Claude Code as hosted by a desktop app and is then cleared\n\n**Unclear.** What Claude Code does differently once it has noted a desktop app host is not stated.\n\n**What**\n\nClaude Code reads a new environment variable, `CLAUDE_CODE_REMOTE_TOOLS_DESKTOP_APP_HOST`. An environment variable is a named value set before a program starts. When it is set, Claude Code notes that a desktop app is its host, then removes the variable from its environment.\n\n**Why**\n\nIt is a connection point for the desktop app rather than something most people set by hand.\n\n- Area: Desktop App\n- Names: `CLAUDE_CODE_REMOTE_TOOLS_DESKTOP_APP_HOST`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}