Is it safe to delete Conda package cache?

~/miniconda3/pkgs · Safe to delete

What it is

Downloaded package archives and extracted packages kept by conda (also ~/anaconda3/pkgs).

Can you delete it?

Yes, it is rebuilt automatically. conda can remove the ones no environment uses. Do not delete the folder by hand: environments may link into it.

How to clean it safely

  1. Preview: conda clean --all --dry-run
  2. Run: conda clean --all

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/"miniconda3/pkgs" 2>/dev/null

Step-by-step guide: Clean up Python environments →

Questions

Is it safe to delete ~/miniconda3/pkgs?

Yes, it is rebuilt automatically. conda can remove the ones no environment uses. Do not delete the folder by hand: environments may link into it.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac