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