Mac storage basics · Programming languages and toolchains

How do I free space used by conda or Anaconda?

Short answer: Run conda clean --all to drop cached packages, list environments with conda env list, and remove unused ones with conda env remove -n plus the name.

Conda keeps downloaded package archives and every environment you create.

  • conda clean --all removes cached package files and unused packages — safe, and often frees a lot.
  • conda env list shows your environments; conda env remove -n followed by a name deletes one you no longer need.

If you installed the full Anaconda distribution but only use a few packages, a minimal installer with just what you need takes far less space. Plain virtual environments are covered in deleting unused virtual environments.

Last reviewed

Also available as Markdown and JSON.