gh pr view 123 --web

Category: GitHub CLI

gh pr view 123 --web

Open a pull request in the browser

--web hands the PR URL to your default browser instead of printing a terminal summary. The browser tab lands directly on the PR conversation page. Use it when the terminal view cannot show the diff context you need.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.