Skip to content

Instantly share code, notes, and snippets.

@hkeeler
Last active November 16, 2023 10:47
Show Gist options
  • Save hkeeler/198b7ec40e2fb218bcd5 to your computer and use it in GitHub Desktop.
Save hkeeler/198b7ec40e2fb218bcd5 to your computer and use it in GitHub Desktop.
Installing Postgres With Homebrew and Lunchy
# Assumes Homebrew is already installed.
# If not, follow instructions on http://brew.sh/
# INSTALLATION
# Update all Homebrew packages
brew update
# Upgrade Ruby to latest version
# NOTE: You'll need to `brew install ruby` if you haven't already installed Ruby
brew upgrade ruby
# Install Postgres via Homebrew
brew install postgres
# Install Lunchy Ruby Gem
# SEE: https://github.com/eddiezane/lunchy
gem install lunchy
# Link Postgres launchctl config via
lunchy install --symlink ~/homebrew/opt/postgresql/homebrew.mxcl.postgresql.plist
# Start Postgres service
lunchy start postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment