Skip to content

Instantly share code, notes, and snippets.

@punitrathore
Last active March 24, 2017 19:54
Show Gist options
  • Save punitrathore/ca32542fddd0d8b625aab610c35e4545 to your computer and use it in GitHub Desktop.
Save punitrathore/ca32542fddd0d8b625aab610c35e4545 to your computer and use it in GitHub Desktop.
Homebrew and PostgreSQL installation

Install Homebrew

In a terminal window execute the following code:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Postgres

In a terminal window execute the following code:

brew update
brew install postgres
brew services start postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment