brew tap petere/postgresql
brew install postgresql-9.3
You might want to add /usr/local/opt/postgresql-9.3/bin/
into path:
export PATH=/usr/local/opt/postgresql-9.3/bin:$PATH
/usr/local/opt/postgresql-9.3/bin/initdb /usr/local/var/postgres-9.3 -E utf8
ln -sfv /usr/local/opt/postgresql-9.3/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
/usr/local/opt/postgresql-9.3/homebrew.mxcl.postgresql.plist
Thank You!
Your Formula helped me.