gh issue view Read an issue in the terminal

Prints an issue's title, status, labels, description and optionally its comments, without leaving the terminal.

Synopsis

gh issue view {NUMBER | URL} [FLAGS]

Common options

Option or formWhat it does
-c, --commentsShow the comments
-w, --webOpen it in the browser
--json FIELDSOutput fields as JSON
-q, --jq EXPRFilter JSON output
-R, --repo owner/repoChoose a different repository

Examples

View an issue
gh issue view 12
Search fails on empty query #12
Open • octocat opened about 1 day ago • 2 comments
Read with comments
gh issue view 12 --comments
Open it on GitHub
gh issue view 12 --web
Get just the labels
gh issue view 12 --json labels --jq ".labels[].name"

Notes

See also

Last reviewed 2026-10-09.