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 sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 5.8.1
head ⚡️ HEAD

Depends on:

libpq 16.2 Postgres C API library
ncurses 6.4 Text-based UI library
readline 8.2.10 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 67
Installs on Request (30 days)
pspg 68
Build Errors (30 days)
pspg 0
Installs (90 days)
pspg 236
Installs on Request (90 days)
pspg 237
Installs (365 days)
pspg 1,470
pspg --HEAD 1
Installs on Request (365 days)
pspg 1,470
pspg --HEAD 1
Fork me on GitHub