# Homebrew - uninstall formula with dependencies

DevFeed: [Homebrew - uninstall formula with dependencies](<https://devfeed.tech/articles/homebrew-uninstall-formula-with-dependencies-27669.md>)

Original publisher: [Read original article](<https://gagor.pro/2021/11/homebrew-uninstall-formula-with-dependencies/>)

Author: Tom

Published: 2021-11-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Homebrew](<https://devfeed.tech/topics/homebrew.md>), [macOS](<https://devfeed.tech/topics/macos.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [brew-autoremove](<https://devfeed.tech/tags/brew-autoremove.md>), [clean-uninstall-homebrew](<https://devfeed.tech/tags/clean-uninstall-homebrew.md>), [command](<https://devfeed.tech/tags/command.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [disk-space](<https://devfeed.tech/tags/disk-space.md>), [homebrew](<https://devfeed.tech/tags/homebrew.md>), [homebrew-uninstall-dependencies](<https://devfeed.tech/tags/homebrew-uninstall-dependencies.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [macos](<https://devfeed.tech/tags/macos.md>), [macos-brew-tips](<https://devfeed.tech/tags/macos-brew-tips.md>), [macos-package-management](<https://devfeed.tech/tags/macos-package-management.md>), [packages](<https://devfeed.tech/tags/packages.md>), [remove-homebrew-formula](<https://devfeed.tech/tags/remove-homebrew-formula.md>)

## AI overview

A tutorial on uninstalling a Homebrew formula and its dependencies on macOS. It recommends using brew autoremove, while warning that the command may remove packages you still need, so users should review its output carefully.

## Source excerpt

Learn how to uninstall a Homebrew formula along with its dependencies on MacOS, ensuring a clean removal and freeing up disk space.