

Option 2: Uninstalling Homebrew with the Uninstall Script Manually When executed properly, the uninstall script will run on the Mac and completely remove Homebrew. This uses ruby to execute the Homebrew uninstall script that is downloaded from github with the curl command. The single command to uninstall Homebrew is as follows, depending on your version of MacOS:įor uninstalling Homebrew in MacOS Catalina, macOS Big Sur, and MacOS Mojave:įor uninstalling Homebrew from MacOS High Sierra, Sierra, El Capitan, and earlier: Perhaps the simplest method is using a single command string entered into the Terminal, just as you run a ruby and curl command in the command line to install Homebrew, you also run a ruby and curl command to uninstall Homebrew from a Mac. There are a few ways to uninstall Homebrew and remove it from a Mac. How to Uninstall & Remove Homebrew in Mac OS

Notably, this is completely different from simply uninstalling individual packages with Homebrew, which is how you’d remove a particular formula from the package manager. This tutorial will walk through how to completely uninstall Homebrew from a Mac, meaning it will remove the entire package manager itself, along with removing the brew and cask commands, along with the various software packages that may have been installed.
