Installing Homebrew on Mac
The Missing Package Manager for macOS (or Linux)

Search for a command to run...
The Missing Package Manager for macOS (or Linux)

No comments yet. Be the first to comment.
This article is for you if you have a: non-PTA iPhone Jazz SIM - that you use primarily Zong SIM - optional I have been a Mobilink/Jazz user for years now & I use only 1 SIM. My iPhone is meant to be used for a couple of months so I don't have t...

I started this guide as a cheat sheet for myself for the times when I needed to created Django project or when I needed to run multiple Python versions. This is an all-rounder guide towards having multiple Python versions even if we don’t need Django...

This tip is for those learners who already know what spread & rest operators are but sometimes are unclear when one is being used. When we see "..." in the code, it is either rest parameters or the spread operator. There’s an easy way to distinguish...

Programming Challenges Hungary for programming challenges, then stay tuned to this series to get articles containing those challenges along with solutions.
Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple's operating system, macOS, as well as Linux. The name is intended to suggest the idea of building software on the Mac depending on the user's taste.
Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.
It makes installing lots of different software like Git, Ruby, and Node simpler.
It lets you avoid possible security problems associated with using the sudo command to install the software.
To install, drag this icon… no more. Homebrew Cask installs macOS apps, fonts and plugins and other non-open source software.
You should have some familiarity with the Mac Terminal application since you’ll need to use it to install Homebrew. The Terminal application is located in the Utilities folder in the Applications folder. Alternatively, you can press ⌘ + space to open up the spotlight & search for the terminal.
Dependencies. You need to install one other piece of software before you can install Homebrew:
Xcode. Install Apple’s Xcode development software: Xcode in the Apple App Store.
Open the Terminal app & type either one of these commands:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# OR
# If you want to run the Homebrew installer non-interactively without prompting for passwords (e.g. in automation scripts), you can use:
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
New versions of Homebrew come out frequently, so make sure you update it before updating any of the other software components that you’ve installed using Homebrew.
In Terminal type brew update
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
# & If you want to run the Homebrew uninstaller non-interactively, you can use:
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
Open the Terminal app
```bash /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
#If you want to run the Homebrew uninstaller non-interactively, you can use:
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
```
Last but not least, refer to this official github page for latest information about how to install & uninstall Homebrew.