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)

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

Formula code on GitHub

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

Intel catalina
high sierra

Current versions:

stable 9.4.26

Other versions:

postgresql@12 12.7 Object-relational database system
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


Depends on:

openssl@1.1 1.1.1k Cryptography and SSL/TLS Toolkit
readline 8.1 Library for command-line editing

Requires: x86_64 architecture

If builds of PostgreSQL 9 are failing and you have version 8.x installed,
you may need to remove the previous version first. 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/postgresql@9.4
For more details, read:


Installs (30 days)
postgresql@9.4 238
Installs on Request (30 days)
postgresql@9.4 238
Build Errors (30 days)
postgresql@9.4 4
Installs (90 days)
postgresql@9.4 766
Installs on Request (90 days)
postgresql@9.4 765
Installs (365 days)
postgresql@9.4 4,886
Installs on Request (365 days)
postgresql@9.4 4,867
Fork me on GitHub