In your command-line run the following commands:
brew doctorbrew update
-
In your command-line run the command:
brew install postgresql -
pg_ctl -D /usr/local/var/postgres start -
Test with
psqlcommand$ psql psql (10.0) Type "help" for help. ibraheem=#