FORMULAv18.7
postgresql@18 for macOS
Object-relational database system
Installation on macOS (Apple Silicon & Intel)
brew install postgresql-18
Package Metadata
| Identifier | postgresql-18 |
|---|---|
| Current Version | 18.7 |
| Tap Repository | homebrew/core |
| License | PostgreSQL |
| Upstream Homepage | https://www.postgresql.org/ |
| Last Verified | 2026-11-26T14:43:31Z |
Runtime Dependencies (7)
icu4c@79 krb5 lz4 openssl@4 readline zstd gettext
Build Dependencies (4)
docbook docbook-xsl gettext pkgconf
Engineering Caveats
This formula has created a default database cluster with: initdb --locale=en_US.UTF-8 -E UTF-8 $HOMEBREW_PREFIX/var/postgresql@18 When uninstalling, some dead symlinks are left behind so you may want to run: brew cleanup --prune-prefix If the service fails to start with a "postmaster.pid" lock file error after an unclean shutdown, and no postgres is running, remove the stale file: rm $HOMEBREW_PREFIX/var/postgresql@18/postmaster.pid
Related macOS Packages
postgresql@17Object-relational database systempostgresql@19Object-relational database systempostgresql@16Object-relational database systempostgrestServes a fully RESTful API from any existing PostgreSQL databasepostgresql@15Object-relational database systempostingModern API client that lives in your terminalpostgresql@14Object-relational database systempotraceConvert bitmaps to vector graphics