uninstall postgresql command line mac code example Example: uninstall postgresql mac $ brew remove postgresql