brew install postgresql qt@6 libxml2 libpqAlso update XCode from app store, open xcode and accept initial license agreement, and install xcode cli.
The official installation instructions for pgModeler recommends installing Xcode and the Enterprise DB distribution of Postgres to fulfill its build requirements. Luckily, Homebrew's got us covered!
Checkout the source
git clone https://github.com/pgmodeler/pgmodeler.git