Perhaps you don't understand the use case. It's often the only option for users to install packages on an HPC system, as on such systems you cannot install things as root so the system package manager is infeasible. The only other possibility is Anaconda, but that has its origins as a Python tool and only has a fairly limited set of non-Python related packages.
For starters: auto-updating everything before installing anything (HOMEBREW_NO_AUTO_UPDATE default 0).
Coupled with uninstalling before determining whether or not the OS version is still supported (not sure if this still can happen, or ever happened on Linux)... fun times all around.
> Linux > brew
Please don't do this, it's not safe, despite it "existing" as an option. Even a binary download is better than suggesting brew on Linux.