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 big sur
64-bit linux

Current versions:

stable 9.4.26

Other versions:

postgresql@13 13.4 Object-relational database system
postgresql@12 12.8 Object-relational database system
postgresql@11 11.13 Object-relational database system
postgresql@10 10.18 Object-relational database system
postgresql@9.6 9.6.23 Object-relational database system
postgresql@9.5 9.5.25 Object-relational database system


Depends on:

openssl@1.1 1.1.1l Cryptography and SSL/TLS Toolkit
readline 8.1.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 216
Installs on Request (30 days)
postgresql@9.4 215
Build Errors (30 days)
postgresql@9.4 3
Installs (90 days)
postgresql@9.4 650
Installs on Request (90 days)
postgresql@9.4 649
Installs (365 days)
postgresql@9.4 3,955
Installs on Request (365 days)
postgresql@9.4 3,944
Fork me on GitHub