how to install postgresql mac terminal code example Example: postgres install mac $ brew install postgresql