Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save greghelton/83190267e657146b98b9985b9ea9c06d to your computer and use it in GitHub Desktop.
Save greghelton/83190267e657146b98b9985b9ea9c06d to your computer and use it in GitHub Desktop.
Installing The Client After Installing Postgres DB
;; Some helpful commands
sudo mkdir /etc/paths.d
brew install libpq
brew install graphviz
;; if necessary
export PATH=/opt/homebrew/Cellar/libpq/16.3/bin:$PATH
createdb -h localhost
psql -h localhost
;; show databases
/l
;; if necessary
createuser -s postgres --pwprompt
;; and enter postgres as the password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment