Skip to content
BENIBIX Learn

Homebrew

Development🛠️ Editors & ToolsPackages

Also known as brew, brew install, Homebrew for Mac

A free tool that puts apps on a Mac or on Linux with one short command.

Think of it like

It is like a vending machine for apps. You press a name, and the app drops out.

Example

Lucy gets a new Mac at work. She types one brew install line, and Git, Node.js and wget are all set up.

Why it matters

It turns hours of downloads and setup into one line. And brew upgrade keeps every tool current.

Definition

Homebrew is a free package manager for macOS and Linux. It installs apps and tools with one short command, brew install. It knows where to get each one, what it needs, and how to set it up. It can also update them all at once later. Developers use it to set up a new Mac with the tools they need, like Git or Python.

Example code

console
$ brew install wget
$ brew upgrade
The first line installs one tool. The second brings every tool up to date.
Homebrew is the one for apps on a Mac or Linux, not for one language.

Common mistake

Using sudo with brew. It is made to run as your own user, and sudo can mess up its folders.

Key takeaways

  1. 1
    One command. brew install puts a tool in place.
  2. 2
    Knows the needs. It fetches what each tool needs too.
  3. 3
    Update all. brew upgrade brings every tool current.

Learn it properly