remove data folder of postgresql mac code example Example: uninstall postgresql mac $ brew remove postgresql