Install Homebrew on macOS – vetechno
5/5 - (1 vote)

Last Updated on January 10, 2023 by Vikash Ekka

Homebrew is a package manager for macOS that makes it easy to install and manage command-line software. You can use Homebrew to install a wide variety of command-line tools, including programming languages, databases, and utilities.

Prerequisites

  1. macOS system with access with administrator privileges
  2. Internet

Install Homebrew on macOS

To install Homebrew on your Mac, you can use the following command in your terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/main/install.sh)"

This command will download and run the Homebrew installer script. The script will check your system for any dependencies and install them if needed. Once the installation is complete, you can use the brew command to install and manage packages.

For example, you can use the following command to install the latest version of Node.js:

brew install node   

You can use the following command to see a list of all the packages that are currently installed:

brew list

You can use the following command to search for a package:

brew search <package-name>

You can use the following command to update all the installed packages

brew update

and you can use the following command to upgrade a specific package

brew upgrade <package-name>

It’s important to note that Homebrew is intended for command-line tools, and it does not have a graphical user interface or support for GUI-based applications. And also you should always be careful when running commands with sudo or from scripts you downloaded from internet, make sure you trust the source before running any commands.

Conclusion

Congratulations, you have successfully installed the Homebrew on macOS system, Please let us know in the below comment box if you are facing any issue while installing.

We will happy to assist you. Happy Learning !!!

By Vikash Ekka

Hi All, My name is Vikash Ekka from India. I’m the founder and tech editor of https://www.vetechno.in. I have completed my Graduation in BCA. I love to write technical articles like Windows, Linux & MAC Tutorials, Tips, Tricks, How To fix, Tutorials About Ethical Hacking & Cyber Security Guide, and Software Review. Currently, I have been working as an IT professional since 2018.

One thought on “Install Homebrew on macOS – vetechno”

Leave a Reply

Your email address will not be published. Required fields are marked *