pspg

Install command:
brew install pspg

Unix pager optimized for psql

https://github.com/okbob/pspg

License: BSD-2-Clause

Development: Pull requests

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

Formula code: pspg.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.8.16
head ⚡️ HEAD

Depends on:

libpq 18.6 Postgres C API library
ncurses 6.6 Text-based UI library
readline 8.3.6 Library for command-line editing

Depends on when building from source:

pkgconf 3.0.7 Package compiler and linker metadata toolkit

Binaries: pspg

Add the following line to your psql profile (e.g. ~/.psqlrc)
    \setenv PAGER pspg
    \pset border 2
    \pset linestyle unicode

Analytics:

30 days90 days365 days
Installs191211,076
Installs (--HEAD)004
Installs on Request191211,072
Installs on Request (--HEAD)004
Build Errors0