# Homebrew

Homebrew, the package manager for macOS, installs and updates your developer tools with one typed command, as a formula for command-line tools or a cask for apps.

Novice · Software Development · Git · Updated November 16, 2026

By Gregor Dzierzon

Homebrew is a popular package manager for macOS. It allows you to easily install a wide range of open-source software using simple commands from the terminal. Homebrew saves you time by locating and downloading the latest version of the software, along with its dependencies. Then, it installs and configures the software. Because of this, you do not have to search the internet for software downloads and the associated install instructions.

Homebrew is often referred to as the "missing package manager for macOS."

Each install is one command. For example, this command installs VS Code:

```bash
brew install --cask visual-studio-code
```

Homebrew has two kinds of packages. A **formula** is a command-line tool, such as `git`. A **cask** is an app with a window, such as VS Code, so its command includes `--cask`.

Homebrew also keeps your software current. `brew upgrade` updates everything Homebrew installed.

You will install Homebrew in the first Setup exercise of this topic, then use it to install every other tool.

## Cheat sheets

- [Homebrew](https://www.ask-codey.com/cheat-sheets/os-and-terminal-tools-homebrew-cheat-sheet)

Source: https://www.ask-codey.com/lessons/os-and-terminal-tools-homebrew
