how to reionstall postgresql on mac code example Example 1: postgres install mac $ brew install postgresql Example 2: install postgresql on mac brew install postgresql