Install command:
 $ brew install postgresql 

Also known as: postgres, postgresql@13

Object-relational database system

License: PostgreSQL

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

Formula code on GitHub

Current versions:

stable 13.0
head ⚡️ HEAD
bottle 🍾 catalina, mojave, high_sierra

Other versions:

postgresql@12 12.4 Object-relational database system
postgresql@11 11.9 Object-relational database system
postgresql@10 10.14 Object-relational database system
postgresql@9.6 9.6.19 Object-relational database system
postgresql@9.5 9.5.23 Object-relational database system
postgresql@9.4 9.4.26 Object-relational database system

Depends on:

icu4c 67.1 C/C++ and Java libraries for Unicode and globalization
krb5 1.18.2 Network authentication protocol
openssl@1.1 1.1.1h Cryptography and SSL/TLS Toolkit
readline 8.0.4 Library for command-line editing

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
To migrate existing data from a previous major version of PostgreSQL run:
    brew postgresql-upgrade-database

This formula has created a default database cluster with:
    initdb --locale=C -E UTF-8 $(brew --prefix)/var/postgres
For more details, read:


Installs (30 days)
postgresql 181,808
postgresql --HEAD 15
Installs on Request (30 days)
postgresql 175,069
postgresql --HEAD 15
Build Errors (30 days)
postgresql 39
postgresql --HEAD 6
Installs (90 days)
postgresql 615,487
postgresql --HEAD 29
PostgreSQL 6
postgresql --without-tcl 3
postgreSQL 1
Installs on Request (90 days)
postgresql 596,570
postgresql --HEAD 28
PostgreSQL 3
postgreSQL 1
Installs (365 days)
postgresql 1,694,101
postgresql --HEAD 98
PostgreSQL 10
postgresql --without-tcl 8
Installs on Request (365 days)
postgresql 1,621,956
postgresql --HEAD 97
PostgreSQL 6
Fork me on GitHub