On MacOS, you do not need to install Postgres. pgxman will use a container to emulate a Linux environment. pgxman will support native homebrew installation in the future.
pgxman requires using the Postgres Global Developer Group (PGDG) apt repository to install Postgres. To add this repository, run:
sudo apt install -y postgresql-common gnupg2
Once the repository is installed, you can install your desired version of Postgres. For example:
sudo apt install postgresql-16
Support for other Postgres distributions are being considered. Please upvote (or file a new issue) if there is a distribution of Postgres you would like to see supported.