Skip to content

Instantly share code, notes, and snippets.

@ernesthan
Created September 6, 2021 00:36
Show Gist options
  • Select an option

  • Save ernesthan/cede5c106116061a429ee7c2c48cd76d to your computer and use it in GitHub Desktop.

Select an option

Save ernesthan/cede5c106116061a429ee7c2c48cd76d to your computer and use it in GitHub Desktop.

Revisions

  1. ernesthan created this gist Sep 6, 2021.
    15 changes: 15 additions & 0 deletions BrewInstallPsql.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    # Update and check Brew
    brew update
    brew doctor

    # Install Postgres
    brew install postgresql

    # Start Postgres
    brew services start postgresql

    # Stop Postgres
    brew services stop postgresql

    # Check brew services (list)
    brew services list