Last active
September 19, 2018 20:05
-
-
Save Miista/9793389 to your computer and use it in GitHub Desktop.
Remove a Homebrew package along with all of its dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew rm FORMULA | |
| brew rm $(join <(brew leaves) <(brew deps FORMULA)) | |
| Run the last line a until `echo $(join <(brew leaves) <(brew deps FORMULA))` returns nothing OR until the last line informs you that `This command requires a keg argument`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment