# [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`. It should not be managed automatically, as currently-running applications should not be updated. The `Brewfile` can be generated with the following command: ```sh cd $XDG_CONFIG_HOME/brew/ && brew bundle dump --force --describe ``` The content of the `Brewfile` can be installed with the following command: ```sh cd $XDG_CONFIG_HOME/brew/ && brew bundle install ``` Clean up installed packages with the following command: ```sh cd $XDG_CONFIG_HOME/brew/ && brew bundle cleanup --force ```