How to Install Homebrew on Mac
If you’re a Mac user and looking for an easy way to install and manage software packages on your system, Homebrew is the perfect tool for you. Homebrew is a package manager for macOS that makes it easy to install and update software packages from the command line.
Step 1: Install Xcode Command Line Tools
Before you can install Homebrew, you’ll need to have Xcode Command Line Tools installed on your Mac. You can install them by running the following command in the terminal:
xcode-select --install
Step 2: Install Homebrew
Once you have Xcode Command Line Tools installed, you can install Homebrew by running the following command in the terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Step 3: Verify Installation
To verify that Homebrew has been successfully installed, you can run the following command in the terminal:
brew --version
Step 4: Using Homebrew
Now that Homebrew is installed on your Mac, you can use it to install and manage software packages. For example, you can install a package by running:
brew install [package_name]
You can also update all installed packages by running:
brew update && brew upgrade
Conclusion
Homebrew is a powerful tool that makes it easy to install and manage software packages on your Mac. By following the steps outlined in this guide, you can quickly get Homebrew up and running on your system and start using it to install all your favorite packages.
Thanks a lot! I've seen many videos to install HomeBrew on Mac, but nothing works properly and it was a headache
Super useful your video! I'm going to watching your videos!
Thanks!
Banks thoss!
The best video for MacBook Brew Installations, I saw a tons and thousands of videos, this 3:45 min video saved me so much time.
Most helpful and crisp instructions out there ✨ Thanks a ton!
Thanks bro!!!
brother you are the savior!
This was very informative, BUT I need to know how to download an older version of Homebrew so it can install on my older Mac. I am not seeing on the Homebrew site where it's obvious where I can download an older version (such as 3.5.0). Do you have any insight into that?
Very helpful thanks ❤
Great video. But it didn't work on my MacBook M2 however, there is another YouTuber that has the complete solution to modify the installation. Also a great video and very easy to follow. ProgrammingKnowledge2. On YouTube.
Not warking On m2
Thank you!
I'm crying. Thank you for this video, it was so helpful!!!!!!!!!
Can you help with recovering the files ?
thankyou!
nope doesnt work
l had a challenge with installing brew
useful! thanks a lot
Thanks!
Thank you 🙏