Install command:
brew install postgresql@12

Object-relational database system

License: PostgreSQL

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

Bottle JSON API: /api/bottle/postgresql@12.json

Formula code: postgresql@12.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
64-bit linux
Apple Silicon monterey
big sur

Current versions:

stable 12.11

Other versions:

postgresql@13 13.7 Object-relational database system
postgresql@11 11.16 Object-relational database system
postgresql@10 10.21 Object-relational database system
postgresql@9.6 9.6.24 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 70.1 C/C++ and Java libraries for Unicode and globalization
krb5 1.19.3 Network authentication protocol
openssl@1.1 1.1.1o Cryptography and SSL/TLS Toolkit
readline 8.1.2 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:

Analytics (macOS):

Installs (30 days)
postgresql@12 8,297
Installs on Request (30 days)
postgresql@12 8,280
Build Errors (30 days)
postgresql@12 5
Installs (90 days)
postgresql@12 26,346
Installs on Request (90 days)
postgresql@12 26,300
Installs (365 days)
postgresql@12 96,881
Installs on Request (365 days)
postgresql@12 96,627

Analytics (Linux):

Installs (30 days)
postgresql@12 42
Installs on Request (30 days)
postgresql@12 39
Build Errors (30 days)
postgresql@12 0
Installs (90 days)
postgresql@12 113
Installs on Request (90 days)
postgresql@12 107
Installs (365 days)
postgresql@12 485
Installs on Request (365 days)
postgresql@12 475
Fork me on GitHub