Install command:
brew install postgresql@12

Object-relational database system

License: PostgreSQL

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

Formula code: postgresql@12.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
Intel sonoma
64-bit linux

Current versions:

stable 12.19

Other versions:

postgresql@16 16.3 Object-relational database system
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@11 11.22 Object-relational database system
postgresql@10 10.22 Object-relational database system


Depends on:

icu4c 74.2 C/C++ and Java libraries for Unicode and globalization
krb5 1.21.2 Network authentication protocol
openssl@3 3.3.1 Cryptography and SSL/TLS Toolkit
readline 8.2.10 Library for command-line editing

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@12
For more details, read:


Installs (30 days)
postgresql@12 1,754
postgresql@12 --HEAD 1
Installs on Request (30 days)
postgresql@12 1,748
postgresql@12 --HEAD 1
Build Errors (30 days)
postgresql@12 0
Installs (90 days)
postgresql@12 5,479
postgresql@12 --HEAD 7
Installs on Request (90 days)
postgresql@12 5,469
postgresql@12 --HEAD 7
Installs (365 days)
postgresql@12 28,185
postgresql@12 --HEAD 36
Installs on Request (365 days)
postgresql@12 28,138
postgresql@12 --HEAD 36
Fork me on GitHub