"The missing Homebrew command"
Homebrew World keeps track of manually installed formulae, and safely clean orphaned dependencies when they are uninstalled.
brew tap axesd9/world
brew world install <formula>
brew world uninstall <formula>
brew world list
brew world add <formula>
brew world remove <formula>
brew world clean
brew world destroy
Destroy the world, then
brew untap axesd9/world