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
and if I wanted to check how much of storage it would clear, the command would be
brew cleanup -n
brew cleanup --dry-run
None of them seem to work for me, and I want to clear my computer of any extra useless copies of Homebrew.
Also, would it be possible that it is actually happening but it is not showing me any output?
Here is the output:
temp@Apples-MacBook-Pro ~ % brew cleanup -n
temp@Apples-MacBook-Pro ~ % brew cleanup
temp@Apples-MacBook-Pro ~ %
All I need is some output showing how much space can be cleared / is cleared when I run the command.
Would it be possible that since I installed home-brew just yesterday, there is nothing to delete and hence this output?