View a pull request in the default web browser

gh

  • Work seamlessly with GitHub from the command-line.
    Some subcommands such as `gh config` have their own usage documentation.
    More information: <https://cli.github.com/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gh pr view --web {{pr_number}}

click the source code to copy install gh on any operating system with command-not-found.com