You can get macOS PostgreSQL packages from several different sources.
Interactive installer by EDB
Postgres.app is a simple, native macOS app that runs in the menubar without the need of an installer. Open the app, and you have a PostgreSQL server ready and awaiting new connections. Close the app, and the server shuts down. PostgreSQL can also be installed on macOS using Homebrew. Please see the Homebrew documentation. Ensure homebrew is installed and up-to-date: $ brew doctor $ brew update Install the postgresql package. $ brew install postgresql Start Postgres. Again, for this I'll be using homebrew because it simplifies things for us rather than managing systemctl or something similar. Daemon managers are all great tools, but I'm aiming for simplicity here.
Download the installercertified by EDB for all supported PostgreSQL versions.
This installer includes the PostgreSQL server, pgAdmin; a graphical tool for managing and developingyour databases, and StackBuilder; a package manager that can be used to download and installadditional PostgreSQL tools and drivers. Stackbuilder includes management,integration, migration, replication, geospatial, connectors and other tools.
This installer can run in graphical, command line, or silent install modes.
The installer is designed to be a straightforward, fast way to get up and running withPostgreSQL on macOS.

Advanced users can also download azip archiveof the binaries, without the installer.This download is intended for users who wish to include PostgreSQL as part of another application installer.
Platform support
The installers are tested by EDB on the following platforms. They will generally work on newer versions of macOS as well:

| PostgreSQL Version | 64-bit macOS Platforms |
|---|---|
| 13 | 10.13 - 10.15 |
| 12 | 10.12 - 10.14 |
| 11 | 10.12 - 10.14 |
| 10 | 10.10 - 10.12 |
| 9.6 | 10.10 - 10.12 |
| 9.5 | 10.8 - 10.10 |
Postgres.app

Postgres.app is a simple, native macOS app that runs in the menubar without the need of an installer. Open the app, and you have a PostgreSQL serverready and awaiting new connections. Close the app, and the server shuts down.
Homebrew
PostgreSQL can also be installed on macOSusing Homebrew. Please see the Homebrewdocumentation for information on how to install packages.
Brew Install Postgresql 9.6
A listof PostgreSQLpackages can be found using the Braumeister search tool.
MacPorts
PostgreSQL packages are also available for macOS from theMacPorts Project. Please see theMacPorts documentation for information on how to install ports.
Postgresql Brew Error
A list ofPostgreSQL packagescan be found using the portfiles search tool on the MacPorts website.
Fink
Postgresql Brewer
PostgreSQL packages are available for macOS from theFink Project.Please see the Fink documentation for information on how to install packages.
Postgresql Brew Start
A list ofPostgreSQL packagescan be found using the package search tool on the Fink website.
