pspg

Install command:
brew install pspg

Unix pager optimized for psql

https://github.com/okbob/pspg

License: BSD-2-Clause

Formula JSON API: /api/formula/pspg.json

Formula code: pspg.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
Intel sonoma
ventura
64-bit linux

Current versions:

stable 5.8.7
head ⚡️ HEAD

Depends on:

libpq 17.1 Postgres C API library
ncurses 6.5 Text-based UI library
readline 8.2.13 Library for command-line editing
Add the following line to your psql profile (e.g. ~/.psqlrc)
    \setenv PAGER pspg
    \pset border 2
    \pset linestyle unicode

Analytics:

Installs (30 days)
pspg 93
Installs on Request (30 days)
pspg 93
Build Errors (30 days)
pspg 0
Installs (90 days)
pspg 377
pspg --HEAD 1
Installs on Request (90 days)
pspg 377
pspg --HEAD 1
Installs (365 days)
pspg 1,824
pspg --HEAD 1
Installs on Request (365 days)
pspg 1,824
pspg --HEAD 1
Fork me on GitHub