GitHub CLI Cheat Sheet/Show auth status

Show which hosts are authenticated and how credentials are stored.

Section: Getting Started

Show auth status

bash
bash
gh auth status
Explanation

Show which hosts are authenticated and how credentials are stored.

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 Getting Started
Authenticate interactively
Authenticate with GitHub using the default browser-based flow.
OpenIn sheetbashsame section
Authenticate to GitHub Enterprise
Authenticate against a GitHub Enterprise Server host.
OpenIn sheetbashsame section
Refresh auth scopes
Refresh token scopes for an authenticated host.
OpenIn sheetbashsame section
Log out from a host
Remove stored authentication for a host.
OpenIn sheetbashsame section
Show current status
Show account, issue, PR, and assignment activity summary.
OpenIn sheetbashsame section
Show gh version
Display installed GitHub CLI version and build info.
OpenIn sheetbashsame section