# GitHub CLI

> gh, GitHub from the terminal: pull requests, issues, Actions and auth.

gh handles the GitHub side of the work without a browser: opening and checking pull requests, watching CI and reading logs. It is also how git authenticates to GitHub.

## On the workstation

-   Installed by the `gh` formula; `bootstrap.sh` logs you in on a new Mac.
    

## Keys and commands

 
| Key or command | Does |
| --- | --- |
| 
`prc` `prv` `prl`

 | 

Create a pull request, open it in the browser, list them

 |
| 

`gh run watch`

 | 

Follow a CI run

 |
| 

`aipr`

 | 

Let Claude write the pull request, then open it

 |

## See also

-   [git, delta, difftastic and git-absorb](git-tools.html)
    
-   [Claude Code and AI tools](claude-code.html)
    
-   [GitHub CLI website](https://cli.github.com)
