Things to know about Homebrew.
brew install without updating your existing things.
export HOMEBREW_NO_AUTO_UPDATE=TRUE # Please stop breaking things export HOMEBREW_NO_INSTALL_CLEANUP=TRUE # I appreciate the gesture, but maybe ask first
Install a software it becomes a Service.
List: $ brew services Name Status User Plist postgresql started hhh /Users/hhh/Library/LaunchAgents/homebrew.mxcl.postgresql.plist redis started hhh /Users/hhh/Library/LaunchAgents/homebrew.mxcl.redis.plist unbound stopped
Then from the plist file, you can see service’s log file location to debug (StandardOutPath, or StandardErrorPath).
$ brew services restart postgresql
For example, current latest PostgreSQL is 13 and I want to use PostgreSQL 12.
brew install [email protected] brew link --overwrite -f [email protected] # maybe need this cp -rf /usr/local/Cellar/[email protected]/12.7/include/postgresql/server /usr/local/opt/[email protected]/include