how to delete all databases on mac osx code example Example: uninstall postgresql mac $ brew remove postgresql