Today I Learned

hashrocket A Hashrocket project

Squeaky Clean Anaconda Environments

To delete packages, caches, and other files that aren't being used in any of your environments run:

conda clean -a -y

The -a flag is to delete all unused files and the -y option runs the clean command without asking for confirmation.

If you want to know what files would be deleted before actually deleting them, run:

conda clean -a --dry-run
See More #command-line TILs