Answer: To quickly enable the sandbox, enter /sandbox enable in the Copilot CLI session; to disable it, enter /sandbox disable in the Copilot CLI session. Status: Confirmed Entry: tool/github-copilot/settings/toggle-cli-sandbox Revision: 4 Digest: sha256:aec5d97fd551ac7e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:29Z Last changed: 2026-11-18T12:55:33Z (Managed settings exception: — → turns sandboxing off only for the current session) Last verified: 2026-11-20T13:01:27Z Next check: 2026-11-21T13:01:27Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Enable command | /sandbox enable | [1] | 2026-11-20 Disable command | /sandbox disable | [1] | 2026-11-20 Default effect | change the saved Enable sandbox setting | [1] | 2026-11-20 Managed settings exception | turns sandboxing off only for the current session | [1] | 2026-11-20 Sources: [1] GitHub. "Configuring local sandbox settings - GitHub Docs". https://docs.github.com/en/copilot/how-tos/cloud-and-local-sandboxes/configuring-local-sandbox-settings Role: primary. Accessed: 2026-11-20T13:01:27Z Quote: "Enable : Enter /sandbox enable in the Copilot CLI session." (Supports: Enable command) Quote: "Disable : Enter /sandbox disable in the Copilot CLI session." (Supports: Disable command) Quote: "Ordinarily, these commands change the saved Enable sandbox setting." (Supports: Default effect) Quote: "If managed settings require sandboxing and permit bypass, /sandbox disable instead turns sandboxing off only for the current session." (Supports: Managed settings exception) Snapshot SHA-256: 2b0411bf252ca93eb7f8047086eb10d63d8e4d0677fed1979924ffdc940c5303 (captured 2026-11-18T12:55:31Z) 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]. On this check the text of [1] was unchanged since 2026-11-18T12:55:33Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:01:27Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:01:27Z Last attempt: 2026-11-20T13:01:27Z Notes and limitations: Extracted automatically from a single official source (section "Enabling and disabling the sandbox quickly"). Related: https://latestn.com/tool/github-copilot/settings/toggle-code-quality-security-tools How do I enable or disable built-in code quality and security validation tools for GitHub Copilot in the cloud? https://latestn.com/tool/github-copilot/settings/toggle-code-review-instructions How do I enable or disable custom instructions for GitHub Copilot code review? https://latestn.com/tool/github-copilot/settings/toggle-public-code-suggestions How do I enable or disable suggestions matching public code in GitHub Copilot? https://latestn.com/tool/github-copilot/settings/set-default-repositories-for-channel How do I set default repositories for a Teams channel in GitHub Copilot? https://latestn.com/tool/github-copilot/settings/switch-microphone-voice-model How do I switch microphones or voice models in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/settings/telemetryconfig-options What TelemetryConfig options are available in the GitHub Copilot SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:55:33Z | changed | Managed settings exception: — → turns sandboxing off only for the current session | [1] 2026-11-18T12:55:33Z | changed | Default effect: — → change the saved Enable sandbox setting | [1] 2026-11-18T12:55:33Z | changed | Restore command: /sandbox enable → — | [1] 2026-11-18T12:55:33Z | changed | Managed settings behavior: /sandbox disable → — | [1] 2026-11-16T12:44:51Z | changed | Restore command: — → /sandbox enable | [1] 2026-11-16T12:44:51Z | changed | Managed settings behavior: — → /sandbox disable | [1] 2026-11-16T12:44:51Z | changed | Managed settings exception: only for the current session → — | [1] 2026-11-16T12:44:51Z | changed | Setting affected: Enable sandbox → — | [1] 2026-11-13T12:49:13Z | changed | Setting affected: — → Enable sandbox | [1] 2026-11-13T12:49:13Z | changed | Restore command: /sandbox enable → — | [1] 2026-11-13T12:49:13Z | changed | Managed settings exception: /sandbox disable → only for the current session | [1] 2026-11-13T03:23:29Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/settings/toggle-cli-sandbox/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/github-copilot/settings/toggle-cli-sandbox POST: https://latestn.com/dispute/tool/github-copilot/settings/toggle-cli-sandbox with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/settings/toggle-cli-sandbox?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I quickly enable or disable the sandbox in GitHub Copilot CLI? Revision 4, last verified 2026-11-20T13:01:27Z. https://latestn.com/tool/github-copilot/settings/toggle-cli-sandbox (accessed 2026-11-21T09:50:29Z). @misc{LatestN_tool_github_copilot_settings_toggle_cli_sandbox_r4, title = {How do I quickly enable or disable the sandbox in GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/settings/toggle-cli-sandbox}}, note = {Revision 4; digest sha256:aec5d97fd551ac7e; last verified 2026-11-20T13:01:27Z; accessed 2026-11-21T09:50:29Z} } 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/github-copilot/settings/toggle-cli-sandbox