How to Install Homebrew on MacOS

Brewing coffee

HomeBrew is a command line package manager and has native support for macOS and is an essential tool for any web developer. HomeBrew is intended for advanced users that like to have a broad range of command line utilities available.

If you haven’t installed HomeBrew before, install the Command Line tools first.

  1. Launch the Terminal application
  2. Run the following command first to install macOS Command Line Tools
    xcode-select --install
  3. When that finishes, run the following command to install Homebrew
    /bin/bash -c "$(curl -fsSL"
  4. Press Enter key and let installation complete

There you go, you’ve successfully installed both Command Line Tools and HomeBrew onto your macOs!

Updating Homebrew

When you upgrade your macOS to the latest version, Ventura, or to get the latest and greatest homebrew, just run the upgrade command.

brew upgrade

For more details on Homebrew, The Missing Package Manager for macOS (or Linux), visit

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.