You can get macOS PostgreSQL packages from several 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 webmaster@enterprisedb.com.
This installer includes:
This installer can run in graphical, command line, or silent install modes.
The macOS installer is designed to be a straightforward, fast way to get up and running with PostgreSQL. In the unlikely event that you have issues with the installer, please report them on the installer Github page. Issues with the installed packages should be reported to the appropriate project directly.
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 postgresql@NN
, where NN
represents the major version. For example,
postgresql@15
.
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.