Homebrew (un)installer
Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
More installation information and options at https://docs.brew.sh/Installation.html.
Linux and Windows 10 Subsystem for Linux
Install Homebrew on Linux and Windows 10 Subsystem for Linux: https://docs.brew.sh/Linuxbrew.
Uninstall Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Download the uninstall script and run ./uninstall --help
to view more uninstall options.