I would love to clean my device of any homebrew update or version copies and then I figured that the command used for that would be
brew cleanup
a