{"name":"CODER","slug":"coder","family":"env","title":"Environment variables","noun":"environment variable","description":"When `1`, `true`, `yes` or `on`, Claude Code's deployment environment detection reports `coder` (unless an earlier check such as `CODESPACES` or `GITPOD_WORKSPACE_ID` matched first). The detected environment is reported in telemetry as `deployment_environment`.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.110","anchor":"cloud-workspace-environment-detection","heading":"Cloud Workspace Environment Detection","line":null,"released_at":"2026-04-15 20:40:53","reason":"found in this entry's text"}],"entries_total":1,"docs":[{"source":"api","path":"build-with-claude\/citations","title":"citations","documented":false},{"source":"api","path":"build-with-claude\/pdf-support","title":"pdf-support","documented":false},{"source":"api","path":"build-with-claude\/token-counting","title":"token-counting","documented":false},{"source":"api","path":"build-with-claude\/working-with-messages","title":"working-with-messages","documented":false},{"source":"api","path":"cli-sdks-libraries\/sdks\/go","title":"go","documented":false},{"source":"api","path":"manage-claude\/inference-hooks-endpoint","title":"inference-hooks-endpoint","documented":false},{"source":"api","path":"manage-claude\/wif-providers\/azure","title":"Create the app registration that represents the Claude API audience.","documented":false},{"source":"api","path":"manage-claude\/wif-providers\/okta","title":"okta","documented":false},{"source":"api","path":"managed-agents\/self-hosted-sandboxes","title":"spawn.sh: called once per claimed work item","documented":false},{"source":"api","path":"managed-agents\/self-hosted-sandboxes-workers","title":"self-hosted-sandboxes-workers","documented":false}],"docs_total":12,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/coder","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}