how to install postgresql with homebrew on mac code example Example: install postgresql 12.4 home brew brew install postgresql