Last Updated: October 29, 2016
·
194
· debbora

Install and run Postgres on MacOS

Download

brew update
brew install postgres

Configure

PATH=/usr/local/pgsql/bin:$PATH
export PATH
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start