Open In App

How to Uninstall and Update Brew in MacOS?

Last Updated : 04 Jan, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Despite being a useful tool, individuals Install Mac Brew to make Mac Terminal more interactive. Occasionally, there is a need to Update Brew Mac to get the latest upgrade. However, if you are tired of the Mac Homebrew Package and want to get rid of it, then there is a simple way to Uninstall Brew Package from your device.

In this article, we will discuss the Mac Brew Tool along with the upgrading and uninstallation process of Homebrew on Mac Terminal.

Key Highlights:

  • Homebrew or Brew is the Package Manager for MacOS.
  • With Brew Installation of several libraries and apps becomes a breeze.
  • There is one command present to update Brew itself and another one to update all the packages.
  • With a simple command, the Brew Uninstallation can be done.

What is Homebrew or Brew?

Homebrew or simply Brew is the Package Manager available only for Mac devices free from the internet. If you want to convert your Mac Terminal to a tool that will help to install any applications from the internet to the device with some simple commands, you have to go for it. Also, it helps to make the terminal a compiler that provides output for a set of programming languages.

Features of Homebrew:

  • Helps to install & manage packages on the device.
  • Update the apps that are installed with the Brew.
  • Execute operations with a few necessary commands.

Steps to Update Homebrew or Brew on Mac

Step 1: Open the Terminal of Mac & execute the following command. This is the command which updates the Brew itself not the packages present along with the Brew. So, sometimes, you might see the message Up To Date as the Brew is updated.

Command: brew update

1--Execute-1st-Command

Step 2: Now, execute the following command in the Terminal. This is the command that updates all the packages in the Brew but not the Homebrew itself. So, there is a high chance that it will take some time to complete the upgrading of all packages.

Command: brew upgrade

2--Execute-2nd-Command

Hence, we have successfully Updated the Brew on Mac.

Steps to Uninstall Homebrew or Brew on Mac

Step 1: Browse to the Official Page to Uninstall the Brew & copy the Command present.

3--Copy-Command

Step 2: Open the Mac Terminal & paste the same Command to execute. Now, Enter Y & press Return on the keyboard to completely delete the brew.

Command: /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)”

4--Enter-Y

Step 3: Now, you will get the Uninstallation Message on the screen.

5--Uninstalled-Homebrew

Hence, we have successfully uninstalled the Homebrew or Brew on Mac.


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads