You can get macOS PostgreSQL packages from several different sources.
Download the installer certified by EDB for all supported PostgreSQL versions.
Note! This installer is hosted by EDB and not on the PostgreSQL community servers. If you have issues with the website it's hosted on, please contact email@example.com.
This installer includes the PostgreSQL server, pgAdmin; a graphical tool for managing and developing your databases, and StackBuilder; a package manager that can be used to download and install additional 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 with PostgreSQL on macOS.
Advanced users can also download a zip archive of the binaries, without the installer. This download is intended for users who wish to include PostgreSQL as part of another application installer.
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|
|16||11.x (amd64), 12.x (arm64)|
|15||10.14 - 12.x (amd64), 12.x (arm64)|
|14||10.14 - 12.x (amd64), 12.x (arm64)|
|13||10.14 - 11.0|
|12||10.13 - 10.15|
|11||10.12 - 10.14|
|10||10.11 - 10.13|
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. For example, to install PostgreSQL 15, you can use the following command:
brew install postgresql@15
You can use Homebrew Formulae to
search for PostgreSQL and other packages. To find a specific major version of
PostgreSQL, search for
represents the major version. For example,
PostgreSQL packages are also available for macOS from the MacPorts Project. Please see the MacPorts documentation for information on how to install ports.
A list of PostgreSQL packages can be found using the portfiles search tool on the MacPorts website.
PostgreSQL packages are available for macOS from the Fink Project. Please see the Fink documentation for information on how to install packages.
A list of PostgreSQL packages can be found using the package search tool on the Fink website.