Install command:
brew install postgresql@16

Object-relational database system

License: PostgreSQL

Formula JSON API: /api/formula/postgresql@16.json

Formula code: postgresql@16.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
Intel sonoma
64-bit linux

Current versions:

stable 16.3

Other versions:

postgresql@15 15.7 Object-relational database system
postgresql@14 14.12 Object-relational database system
postgresql@13 13.15 Object-relational database system
postgresql@12 12.19 Object-relational database system
postgresql@11 11.22 Object-relational database system
postgresql@10 10.22 Object-relational database system


Depends on:

gettext 0.22.5 GNU internationalization (i18n) and localization (l10n) library
icu4c 74.2 C/C++ and Java libraries for Unicode and globalization
krb5 1.21.2 Network authentication protocol
lz4 1.9.4 Extremely Fast Compression algorithm
openssl@3 3.3.1 Cryptography and SSL/TLS Toolkit
readline 8.2.10 Library for command-line editing
zstd 1.5.6 Zstandard is a real-time compression algorithm

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
This formula has created a default database cluster with:
    initdb --locale=C -E UTF-8 $HOMEBREW_PREFIX/var/postgresql@16
For more details, read:


Installs (30 days)
postgresql@16 7,305
postgresql@16 --HEAD 8
Installs on Request (30 days)
postgresql@16 7,118
postgresql@16 --HEAD 8
Build Errors (30 days)
postgresql@16 5
Installs (90 days)
postgresql@16 19,893
postgresql@16 --HEAD 40
Installs on Request (90 days)
postgresql@16 19,392
postgresql@16 --HEAD 40
Installs (365 days)
postgresql@16 52,088
postgresql@16 --HEAD 103
Installs on Request (365 days)
postgresql@16 50,318
postgresql@16 --HEAD 103
Fork me on GitHub