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