how to completely remove postgresql from mac code example Example: uninstall postgresql mac $ brew remove postgresql