"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
- Create a file which contains all installed formulae
brew list > ~/new-world
- Edit the file, and keep only the manually installed formulae
- Add all of them to your new world
brew world add `cat ~/new-world`
- Clean the world
- Remove the file
rm ~/new-world
brew world install <formula>
brew world uninstall <formula>
brew world list
brew world add <formula>
brew world delete <formula>
brew world clean
brew world create
brew world destroy
brew world help
Destroy the world, then
brew untap axesd9/world