Remove older versions of installed formulae.

brew cleanup

Remove older versions of specified formula.

brew cleanup <formula>

Display all formula that will be removed (dry run)

brew cleanup -n
Comments