$ brew install postgresql # start postgresql server and have it restart on boot $ pg_ctl -D /usr/local/var/postgres start && brew services start postgresql # open psql command line interface with user nmosko $ psql postgres -U nmosko