install psql mac brew code example Example: install postgresql 12.4 home brew brew install postgresql