uninstall postgresql mac terminal code example Example: uninstall postgresql mac $ brew remove postgresql