gh issue view

View an issue


Display the title, body, and other information about an issue.

With ‘–web’, open the issue in a web browser instead.

gh issue view {<number> | <url>} [flags]


  -w, --web   Open an issue in the browser

Options inherited from parent commands

      --help              Show help for command
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO format

Examples in use

In terminal

By default, we will display items in the terminal.

# Viewing an issue in terminal
~/Projects/my-project$ gh issue view 21
Issue title
opened by user. 0 comments. (label)

  Issue body

View this issue on GitHub:

In the browser

Quickly open an item in the browser using --web or -w

# Viewing an issue in the browser
~/Projects/my-project$ gh issue view 21 --web
Opening in your browser.