Uninstalling PGAdmin4 Manually on Mac: Deleting Persistent Files

Abstract: Resolves PGAdmin4 residual configuration and cache files that persist after standard uninstallation on macOS.

Created: 2026-07-31 by
Uninstalling PGAdmin4 on macOS requires more than dragging the application to the Trash because residual configuration files, databases, and logs remain in hidden library folders. To perform a complete manual uninstall, you must locate and delete these persistent artifacts using Terminal commands or Finder navigation. This process ensures that no orphaned data interferes with future installations or causes permission conflicts.

Understanding Why Standard Uninstallation Fails

When you install PGAdmin4 via the official installer or Homebrew, the application places binaries in standard locations like /Applications. However, user-specific data is stored in directories that are not automatically removed by the system's trash function. These include configuration settings, saved server connections, and local database files. If you simply move the app icon to the Trash, these files persist on your disk. This can lead to issues such as corrupted configurations when you attempt to reinstall the software later. Understanding this separation between the executable and user data is crucial for a clean removal.

Locating Persistent Files in the Library Folder

The primary location for user-specific data on macOS is the Library folder within your user home directory. This folder is hidden by default in modern versions of macOS. To access it, open Finder and select the Go menu from the top bar. Hold down the Option key; you will see a Library option appear in the dropdown list. Click on it to navigate into the hidden directory. Inside, you need to look for two specific subdirectories: Application Support and Preferences. These folders contain the bulk of the persistent files associated with PGAdmin4.

Deleting Application Support Data

Navigate to ~/Library/Application Support. Look for a folder named pgadmin4 or similar. This directory contains your local server definitions, query history, and cached data. Deleting this folder removes all personalized settings you have configured within the application. Before deleting, ensure you do not have any unsaved work or critical connection details that you might want to back up. Once you are certain, drag the pgadmin4 folder to the Trash. You may be prompted to enter your administrator password to authorize the deletion of system-related files.

Removing Preference and Cache Files

Next, visit ~/Library/Preferences. Search for files starting with org.pgadmin or pgadmin4. These .plist files store window positions, theme preferences, and other UI states. Additionally, check the Caches folder at ~/Library/Caches for any pgadmin4 related entries. Clearing these caches ensures that no temporary data remains that could cause startup errors in the future. After removing these files, empty your Trash to permanently delete them from your storage drive.

Using Terminal for Complete Removal

For users comfortable with command-line interfaces, Terminal provides a faster and more precise method to remove these files. Open Terminal and execute the following commands to remove the application support and preference directories simultaneously. Replace username with your actual macOS username if necessary, though tilde expansion usually handles this.
rm -rf ~/Library/Application\ Support/pgadmin4
rm -rf ~/Library/Preferences/org.pgadmin.*
rm -rf ~/Library/Caches/pgadmin4
This approach eliminates the risk of missing hidden files due to Finder view settings. It also allows you to verify the deletion by listing the contents of the Library folders afterward. If you installed PGAdmin4 via Homebrew, you should also run brew uninstall pgadmin4 to remove the binary packages managed by the package manager.

Verifying the Clean Uninstall

After completing the steps above, restart your Mac to ensure that any background processes associated with PGAdmin4 are terminated. Check the Activity Monitor to confirm that no pgadmin processes are running. You can also search your entire hard drive for "pgadmin" using Spotlight or Finder to ensure no stray files remain. If you plan to reinstall the application, you can now do so with a fresh configuration state. This method is particularly useful if you are troubleshooting installation failures or migrating to a different version of PostgreSQL tools. For more advanced system management tasks, such as managing keyboard shortcuts or retrieving SQL data directly, refer to our guide on How to Use Default Keyboard Shortcut for Screenshot in MacOS and Retrieving SQL Data using Terminal on Mac.

Frequently Asked Questions

Will deleting these files affect my PostgreSQL database?

No, deleting PGAdmin4 files does not affect your actual PostgreSQL server or its data. PGAdmin4 is merely a client interface; the database engine runs separately. Your tables, rows, and schemas remain safe on your server unless you explicitly drop them using SQL commands.

Can I recover deleted configuration files after uninstallation?

Once you empty the Trash, the files are permanently deleted from your local storage. Unless you have a Time Machine backup or another backup solution enabled before deletion, recovery is unlikely. Always export or note down important connection details before performing a manual uninstall.

Does Homebrew handle the cleanup of user data automatically?

Homebrew typically only removes the installed binaries and libraries located in its prefix. It does not automatically delete user-specific data in the Library folder. You still need to manually remove the Application Support and Preferences folders to achieve a complete uninstall.

What if I cannot find the Library folder in Finder?

If the Library folder does not appear even when holding the Option key, you can type the path directly into the Finder address bar. Enter ~/Library and press Enter. This bypasses the visibility setting and takes you directly to the hidden directory where the persistent files reside.

Is it safe to use the rm command in Terminal?

Yes, but you must be careful with syntax. The -rf flags force removal without confirmation and handle recursive directories. Double-check the path before executing to avoid deleting unintended files. Using ls to list the target directory before running rm is a good safety practice.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More