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