How to Install Homebrew (MacOS)

harizinside

Muhamad Haris Setiawan

Posted on October 17, 2021

How to Install Homebrew (MacOS)

Since it's very important for us to make our mac perfect to be developer tools we need command to make it easy to install tool. here are the steps:

If you are Apple Silicon or M1 user please install rosetta 2 before continue and set terminal opened by rosetta 2 this link will guide you. Apple Rosetta2

XCode Command Line Tools

If you don't have XCode installed, it's best to first install the command line tools to install homebrew

$ xcode-select --install
Enter fullscreen mode Exit fullscreen mode

Then main of title, install homebrew:

Homebrew Installation

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Enter fullscreen mode Exit fullscreen mode

Well it's take a little bit long, just make a glass of coffee when it's done.
To make it sure your homebrew ready type this code

$ brew --version
Homebrew 3.2.16
Homebrew/homebrew-core (git revision d0506b30624; last commit 2021-10-17)
Enter fullscreen mode Exit fullscreen mode
$ brew doctor
Enter fullscreen mode Exit fullscreen mode

Oke, you'r ready to brew 🍺

💖 💪 🙅 🚩
harizinside
Muhamad Haris Setiawan

Posted on October 17, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related