Created
July 1, 2024 20:37
-
-
Save greghelton/83190267e657146b98b9985b9ea9c06d to your computer and use it in GitHub Desktop.
Installing The Client After Installing Postgres DB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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