3 homepage: https://brew.sh
5 Brew: The Missing Package Manager for macOS (and Linux).
10 `brew` has its own built-in upgrade management.
19 > Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.
21 **Important**: This will install `brew` to `~/.local/opt/brew/`, NOT
22 `/usr/local`. The ability to install brew, without `sudo`, in your HOME
23 directory is a relatively new feature. If you do encounter a `brew install`
24 issue, [report it to brew](https://github.com/Homebrew/homebrew-core/issues).
25 way, report it to brew.
27 ### How to install CLI packages
34 ### How to install GUI packages
38 brew cask install docker
41 ### Where are things installed?
47 For reference, traditional `brew` installs here:
51 /opt/homebrew-cask/Caskroom/
54 ### `brew` screwed up everything, now what?
56 Sometimes you're compelled against all reason to do something really stupid,
57 like `brew upgrade` or `brew update python`, and your whole system gets borked.
59 If you need to _uninstall_ and _reinstall_ local brew:
62 rm -rf ~/.local/opt/brew
66 If you need to _uninstall_ global brew:
68 For _Mojave_, _Catalina_, _Big Sur_, and above:
71 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
74 For _High Sierra_ and below:
77 /bin/bash -c ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"