Copilot CLI: Permissions, Config, Trusted Folders, and Environment Variables/Open the global user config path
Use the default config location.
Section: Config files and trusted-folder layout
Open the global user config path
bash
bash
~/.copilot/config.jsonExplanation
This stores user-level defaults for all repositories unless `COPILOT_HOME` overrides it.
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 Config files and trusted-folder layout
Store permanently trusted folders
Persist trusted directories in the user config.
Override the Copilot home directory
Change where config and state files are stored.