1

How to Uninstall and Update Brew in MacOS?

 8 months ago
source link: https://www.geeksforgeeks.org/uninstall-and-update-brew-in-macos/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How to Uninstall and Update Brew in MacOS?

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.

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore.

Last Updated : 04 Jan, 2024
Like Article
Save Article
Share your thoughts in the comments

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK