Section: Environment variables and common options

Disable automatic updates

bash
bash
export COPILOT_AUTO_UPDATE=false
Explanation

Helpful for deterministic CI and reproducible support debugging.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Environment variables and common options
Set the model for a session
Choose a model using an environment variable.
OpenIn sheetbashsame section
Allow all permissions via environment variable
Enable fully automatic permissions in scripts.
OpenIn sheetbashsame section
Choose the editor for prompt editing
Set the editor Copilot should use.
OpenIn sheetbashsame section
Authenticate with a token environment variable
Set a token for non-interactive environments.
OpenIn sheetbashsame section
Override the Copilot home directory
Change where config and state files are stored.
OpenIn sheetbashsame section
Disable rich diff rendering
Use plain-text diff output.
OpenIn sheetbashsame section