Enable explicit offline mode in GitHub Copilot CLI
Set the COPILOT_OFFLINE=true environment variable to enable explicit offline mode in GitHub Copilot CLI.
Set the environment variable `COPILOT_OFFLINE=true` to enable offline mode.
GitHub Copilot CLI
Allows users to explicitly control offline mode, separate from choosing local models, ensuring data privacy and control.
GitHub Copilot CLI offers an explicit offline mode controlled by the `COPILOT_OFFOFFLINE=true` environment variable. This mode is distinct from using local models and can still allow remote providers to receive prompts and code context over the network.
The `COPILOT_OFFLINE=true` setting provides a clear switch for offline operation, ensuring that users have direct control over when their data is sent over the network.
Choosing a local model does not automatically enable offline mode.
- Discover local models in GitHub Copilot CLI ↗GitHub · GitHub Changelog: Copilot · Oct 7, 2026 · paraphrased
First seen on Subvolts Oct 7, 2026. Updated Oct 7, 2026. Spotted a problem? Tell us.
- Discover local models in GitHub Copilot CLIMicrosoft · GitHub Changelog: Copilot · Oct 7, 2026
The Playbook: reusable how-tos, prompts, configs and tips pulled out of the news.
- PromptGenerate a flashcard web application with specific featuresCreate a flashcard app with features for creation, search, review, and statistics. · 15 min
- HeuristicSelectivity is key to multi-model orchestrationChoose the least complex workflow that meets quality needs, using more powerful models only when necessary. · 5 min
- Setting tipEnable HydraFusion and HydraFusion Max in CopilotAccess advanced AI model orchestration in VS Code, GitHub Copilot app, and CLI. · 2 min
- Setting tipConfigure GitHub Copilot app to use local model providersAdd supported local model providers in the GitHub Copilot app settings to choose models that fit your work. · 5 min
- Setting tipDiscover and add local Ollama models in GitHub Copilot CLIUse the /model command to find and add local Ollama models to GitHub Copilot CLI without leaving your workflow. · 5 min
- Skill or agent configIntegrate Codex CLI for agent-style coding in local environmentsUse the open-source Codex CLI to run agent-style coding directly on local repositories for iterative review and edits. · 15 min
Questions people ask
- Which AI tools does this work with?
- The sources used it with Copilot.
- Where did this come from?
- GitHub (GitHub Changelog: Copilot). Subvolts collected, normalized and credited it; the link above opens the original.

