# brew uninstall

> Uninstall a Homebrew formula/cask.
> Use `brew autoremove` to remove unused dependencies afterwards.
> More information: <https://docs.brew.sh/Manpage#uninstall-remove-rm-options-installed_formulainstalled_cask->.

- Uninstall a formula/cask:

`brew uninstall {{formula|cask}}`

- Uninstall a cask and remove all associated files:

`brew uninstall --zap {{cask}}`
