View and inspect GitHub issues by number using the GitHub CLI. Use when asked to read an issue, fetch issue comments, open an issue in the browser, or inspect an issue from outside the repository with an explicit owner/repo.
Use gh issue view to read issue details in the terminal quickly and consistently.
Read an issue in terminal:
gh issue view <number>
Read an issue with all comments:
gh issue view <number> --comments
Open an issue in browser:
gh issue view <number> --web
Read an issue outside the repo directory:
gh issue view <number> --repo owner/repo
Skim only title and body:
gh issue view <number> --json title,body --jq '.title, .body'
gh issue view <number> first.--comments when full discussion history is needed.--repo owner/repo when not inside the target repository.--web when interactive browser reading is preferred.--json ... --jq ... for machine-friendly or minimal output.gh auth status and repository access.