
That’s why we recommend that you uninstall PostgreSQL automatically.įor the automatic uninstallation method, you need to use a special free cleanup application – App Cleaner & Uninstaller. Moreover, you might have missed some service files and left them on your Mac’s hard drive. Uninstalling PostgreSQL with Terminal may be a really time-consuming process. The easiest way to remove PostgreSQL from Mac Keep reading this article to find out more about this tool. If for some reason this method does not work for you or you simply do not want to waste your time we recommend to completely uninstall PostgreSQL with the App Cleaner & Uninstaller tool, which will automatically find all support files of PostgreSQL and remove the application entirely. That’s all with the first method of removal. Restore your shared memory settings using this command: sudo rm /etc/nf.Go to System Preferences → Users & Groups → click the Lock icon and enter the administrator password to unlock settings → select the PostgreSQL and click the “-” icon. Remove the PostgreSQL folder from the system Library:.Unfortunately, the root uninstaller doesn’t delete all PostgreSQL files, so you will need to remove them manually. Then follow the provided steps to remove the PostgreSQL and data folders. If the command runs the uninstaller, proceed to the next steps.Įnter the administrator password to launch the uninstaller. If you get the message that this file does not exist, then skip to the second PostgreSQL removal way. Sudo /Library/PostgreSQL/9.1/uninstall-postgresql.app/Contents/MacOS/installbuilder.sh Open /Library/PostgreSQL/9.2/uninstall-postgresql.app After that run the uninstaller using the following command: For this, go to the Applications folder, open Utilities subfolder, and launch Terminal. If you installed Postgres with its Installer, then you can use the Terminal command line to remove Postgres.

For this, click on the Elephant icon in the toolbar and select Shutdown server
#INSTALL LOCAL POSTGRESQL MAC SOFTWARE#
Meaning, they will not let you correctly reinstall the software in the future.īefore you uninstall Postgres, you should stop the PostgreSQL server on your Mac. In this case, all the Postgre system service files will remain on your computer and keep cluttering up your disk space.
#INSTALL LOCAL POSTGRESQL MAC HOW TO#
Before we start, watch a short video how to uninstall PostgreSQL on Mac.ĭeleting PostgreSQL just by dragging-and-dropping it into the Trash is not the correct way to uninstall apps.
