{"name":"defaultEnvironmentId","slug":"defaultenvironmentid","family":"setting","title":"Settings keys","noun":"settings key","description":"Under `remote`. Environment ID used for cloud sessions, taken from the highest-precedence settings source that sets it. A self-hosted pool ID (prefix `ccpool_`) is honoured from user, policy or flag settings; from any other source it is skipped with a warning and the next source is used. Choosing an environment with `\/remote-env` writes it to user settings and clears any value in local settings.","description_source":"code","described_by":{"bundle":"2.1.283","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.138","removed_in":"2.1.284","in_current_build":false,"newest_mined":"2.1.309","builds":126,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[{"version":"2.0.47","anchor":"remote-environment-configuration","heading":"Remote Environment Configuration","line":null,"released_at":"2025-11-19 22:38:50","reason":"found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"cloud-environments","title":"Configure cloud environments","documented":false},{"source":"claude-code","path":"self-hosted-environments-testing","title":"Test self-hosted environments end to end","documented":false},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false}],"docs_total":4,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/defaultenvironmentid","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}