Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eliflores/815715c705e9e0270231 to your computer and use it in GitHub Desktop.
Save eliflores/815715c705e9e0270231 to your computer and use it in GitHub Desktop.
Homebrew - Install Specific Version of PostgreSQL
# These are the steps I followed to install a specific version of PostgreSQL using Homebrew
brew search postgresql
# You will get a list of versions, pick the one you are looking for and use that next
# e.g. 'homebrew/versions/postgresql92'
brew install homebrew/versions/postgresql92
# If you get an error like:
# Error: An unexpected error occurred during the `brew link` step
# The formula built, but is not symlinked ....
# Then you need to run:
brew link postgresql92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment