uninstall homebrew and all packages code example Example: how to uninstall a package installed using homebrew brew uninstall packageName