# [Homebrew](https://brew.sh/) - The Missing Package Manager for macOS ## Installing `brew` Homebrew (`brew`) can be installed with the following command: ```sh /bin/zsh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ``` ## [Brewfile](./Brewfile) The [`Brewfile`](./Brewfile) describes the [Homebrew Bundle](https://github.com/Homebrew/homebrew-bundle) of packages currently installed with `brew`. It can be managed with `brew bundle`. Find installed packages absent from the `Brewfile` with the following command: ```sh brew bundle cleanup ``` Clean up installed packages with the following command: ```sh brew bundle cleanup --force ``` ## Glossary - **Formula**: A package script that tells Homebrew how to install a tool. - **Cask**: An extension to Homebrew for installing macOS applications. - **Keg**: The installation directory for a particular version of a formula. Kegs are located inside Homebrew's "Cellar", and Homebrew creates symlinks from them to make the software accessible. - **Tap**: A third-party Git repository containing additional formulae not included in Homebrew's main collection.