how to install postgresql on mac homebrew code example Example: postgres install mac $ brew install postgresql