Quick tip: Here's how to uninstall Postgres from your Mac

Uninstalling Postgres database software from a computer running MacOS isn't super straightforward - this is what I found helpful.

The Problem

Earlier tonight, my Macbook Pro decided it was done having disk space, and in the middle of a Time Machine backup, it started gnawing through every last bit of free space I had left.  Great.

In a frenzy of panic-and-uninstall, I came across an install of Postgres 9.x which I haven't used in quite a long time.   I wanted to carefully uninstall it, in part because I knew that the Postgres install process does loads of not-easy-to-clean things to your mac, including adding a user account to your device, and an app, and a bunch of settings.

My goodness, what a ride.

The Solution

There's not a simple uninstaller for everything, so far as I can tell.

Eventually, the gods of web search brought me to this beautiful gist on GitHub, which listed everything I needed to do to complete the uninstall safely. (I've also forked the gist, in case the original ever disappears 😅).

I don't want to take any credit for the work - it seems to have originally come from this blog post from 2013, which was not returned by my Bing-fu (yeah, you read that right).  

I'm posting it here in the hopes that will help some other soul in the future who is going through this experience.  Good luck out there!

Mike Bifulco headshot

Subscribe to Tiny Improvements

A newsletter for product builders, startup founders, and indiehackers, who design with intention, and my thoughts on living a life you love in a busy world.

    Typically once a week, straight from me to you. 😘 Unsubscribe anytime.


    Get in touch to → Sponsor Tiny Improvements

    ***
    Hero
    Quick tip: Here's how to uninstall Postgres from your Mac

    Uninstalling Postgres database software from a computer running MacOS isn't super straightforward - this is what I found helpful.

    dev

    More great resources

    Articles about React.jsArticles about Remix.runArticles about Next.jsArticles for developersArticles for JavaScript developersArticles about CSSArticles about User Experience (UX)Articles about tools I useArticles about productivityBrowse all topics →
    © 2019-2023 Mike Bifulco

    Get in touch to → Sponsor Tiny Improvements

    Disclaimer: 👋🏽 Hi there. I work as a co-founder & CTO at Craftwork. These are my opinions, and not necessarily the views of my employer.
    Built with Next. Source code on GitHub.