command line install postgres on mac code example Example: install postgresql 12.4 home brew brew install postgresql