Remove stored credentials.
Section: First-run and lifecycle commands
Sign out of Copilot CLI
bash
bash
copilot logoutExplanation
A clean reset when you need to swap users or re-run authentication.
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 First-run and lifecycle commands
Authenticate against a specific GitHub host
Target a GitHub host explicitly during login.
Open help topics
Show help for commands, config, environment, logging, or permissions.