Install command:
brew install postgresql@15

Object-relational database system

License: PostgreSQL

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

Formula code: postgresql@15.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
Intel sonoma
64-bit linux

Current versions:

stable 15.7

Other versions:

postgresql@16 16.3 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@15
For more details, read:


Installs (30 days)
postgresql@15 9,650
postgresql@15 --HEAD 18
Installs on Request (30 days)
postgresql@15 9,620
postgresql@15 --HEAD 18
Build Errors (30 days)
postgresql@15 1
Installs (90 days)
postgresql@15 29,783
postgresql@15 --HEAD 63
Installs on Request (90 days)
postgresql@15 29,693
postgresql@15 --HEAD 63
Installs (365 days)
postgresql@15 153,709
postgresql@15 --HEAD 263
Installs on Request (365 days)
postgresql@15 151,799
postgresql@15 --HEAD 263
Fork me on GitHub