Skip to content

Instantly share code, notes, and snippets.

@IvanKhoteev
Forked from ibraheem4/postgres-brew.md
Last active October 25, 2018 10:35
Show Gist options
  • Select an option

  • Save IvanKhoteev/e8b6e5ab7d5c3ec749ec95035c9839fe to your computer and use it in GitHub Desktop.

Select an option

Save IvanKhoteev/e8b6e5ab7d5c3ec749ec95035c9839fe to your computer and use it in GitHub Desktop.
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update

Installing

  1. In your command-line run the command: brew install postgresql

  2. pg_ctl -D /usr/local/var/postgres start

  3. Test with psql command

    $ psql
    psql (10.0)
    Type "help" for help.
    
    ibraheem=# 
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment