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.
- Launch the Terminal application
- Run the following command first to install macOS Command Line Tools
- When that finishes, run the following command to install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Press Enter key and let installation complete
There you go, you’ve successfully installed both Command Line Tools and HomeBrew onto your macOs!
When you upgrade your macOS to the latest version, Ventura, or to get the latest and greatest homebrew, just run the upgrade command.
For more details on Homebrew, The Missing Package Manager for macOS (or Linux), visit https://brew.sh.