Install command:
brew install postgresql@12

Object-relational database system

License: PostgreSQL

/api/formula/postgresql@12.json (JSON API)

/api/bottle/postgresql@12.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
Apple Silicon big sur

Current versions:

stable 12.7

Other versions:

postgresql@11 11.12 Object-relational database system
postgresql@10 10.17 Object-relational database system
postgresql@9.6 9.6.22 Object-relational database system
postgresql@9.5 9.5.25 Object-relational database system
postgresql@9.4 9.4.26 Object-relational database system


Depends on:

icu4c 69.1 C/C++ and Java libraries for Unicode and globalization
krb5 1.19.2 Network authentication protocol
openssl@1.1 1.1.1k Cryptography and SSL/TLS Toolkit
readline 8.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 $(brew --prefix)/var/postgresql@12
For more details, read:


Installs (30 days)
postgresql@12 5,775
Installs on Request (30 days)
postgresql@12 5,760
Build Errors (30 days)
postgresql@12 7
Installs (90 days)
postgresql@12 24,360
Installs on Request (90 days)
postgresql@12 24,255
Installs (365 days)
postgresql@12 101,376
Installs on Request (365 days)
postgresql@12 100,068
Fork me on GitHub