gh config set pager 'less -FRX'

Category: GitHub CLI

gh config set pager 'less -FRX'

Set the pager for long gh output

Configures the pager gh pipes long output through, here less with -F quit-if-one-screen, -R raw color, and -X no-clear flags. A sensible pager keeps tables readable. Set it to cat to disable paging entirely.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.