The cleanmymac.builtins Module

cleanmymac comes with a few builtin cleanup targets defined as YAML files in the cleanmymac.builtins module.

Homebrew

$ # update
$ brew update
$ brew outdated | brew upgrade
$ # cleanup
$ brew cleanup

Anaconda

$ # update
$ conda update conda
$ conda update anaconda
$ # cleanup
$ conda clean -p -s -t -y

Java JDK’s

keep the latest 1.7 and 1.8 JDK’s under /Library/Java/JavaVirtualMachines

Note

may require sudo privileges

MacTex

keep the latest texlive distribution under /usr/local/texlive/

Note

may require sudo privileges

Trash

simply empty the contents of the ~/.Trash/ (trash bin) folder