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 7,595
Installs on Request (30 days)
postgresql@12 7,581
Build Errors (30 days)
postgresql@12 2
Installs (90 days)
postgresql@12 27,063
Installs on Request (90 days)
postgresql@12 27,007
Installs (365 days)
postgresql@12 96,893
Installs on Request (365 days)
postgresql@12 96,638

Analytics (Linux):

Installs (30 days)
postgresql@12 39
Installs on Request (30 days)
postgresql@12 36
Build Errors (30 days)
postgresql@12 0
Installs (90 days)
postgresql@12 110
Installs on Request (90 days)
postgresql@12 103
Installs (365 days)
postgresql@12 486
Installs on Request (365 days)
postgresql@12 476
Fork me on GitHub