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
big sur
Intel sonoma
big sur
64-bit linux

Current versions:

stable 12.16

Other versions:

postgresql@16 16.0 Object-relational database system
postgresql@15 15.4 Object-relational database system
postgresql@14 14.9 Object-relational database system
postgresql@13 13.12 Object-relational database system
postgresql@11 11.21 Object-relational database system
postgresql@10 10.22 Object-relational database system


Depends on:

icu4c 73.2 C/C++ and Java libraries for Unicode and globalization
krb5 1.21.2 Network authentication protocol
openssl@3 3.1.2 Cryptography and SSL/TLS Toolkit
readline 8.2.1 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 2,512
Installs on Request (30 days)
postgresql@12 2,511
Build Errors (30 days)
postgresql@12 2
Installs (90 days)
postgresql@12 7,931
Installs on Request (90 days)
postgresql@12 7,922
Installs (365 days)
postgresql@12 15,847
Installs on Request (365 days)
postgresql@12 15,824
Fork me on GitHub