conda clean <arg>

Remove unused packages and caches

Arguments

NameDescription
arg

Options

NameDescription
-a, --allRemove index cache, lock files, unused cache packages, and tarballs
-i, --index-cacheRemove index cache
-p, --packagesRemove unused packages from writable package caches
-t, --tarballsRemove cached package tarballs
-f, --force-pkgs-dirsRemove all writable package caches
-c, --tempfiles <arg...>Remove temporary files that could not be deleted earlier due to being in-use. Argument is path(s) to prefix(es) where files should be found and removed
-d, --dry-runOnly display what would have been done
--jsonReport all output as json. Suitable for using conda programmatically
-q, --quietDo not display progress bar
-v, --verbose
  • Repeatable ♾
-y, --yesDo not ask for confirmation