Install command:
 $ brew install postgresql@9.4 

Formerly known as: postgresql94

Object-relational database system

License: PostgreSQL

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

Formula code on GitHub

Current versions:

stable 9.4.26
bottle 🍾 catalina, mojave, high_sierra


Depends on:

openssl@1.1 1.1.1h Cryptography and SSL/TLS Toolkit
readline 8.0.4 Library for command-line editing
If builds of PostgreSQL 9 are failing and you have version 8.x installed,
you may need to remove the previous version first. See:

To migrate existing data from a previous major version (pre-9.3) of PostgreSQL, see:

When installing the postgres gem, including ARCHFLAGS is recommended:
    ARCHFLAGS="-arch x86_64" gem install pg

To install gems without sudo, see the Homebrew documentation:,-Eggs-and-Perl-Modules

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


Installs (30 days)
postgresql@9.4 558
Installs on Request (30 days)
postgresql@9.4 556
Build Errors (30 days)
postgresql@9.4 3
Installs (90 days)
postgresql@9.4 1,605
Installs on Request (90 days)
postgresql@9.4 1,596
Installs (365 days)
postgresql@9.4 8,739
Installs on Request (365 days)
postgresql@9.4 8,535
Fork me on GitHub