commands.sh

conda clean

all

Delete temporary or unused files: index cache, lock files, unused cache packages, tarballs, and log files.

More info →

Options (6)

boolean

Delete all temporary or unused files verbosely and say yes to all confirmations

Example: conda clean {{[-avy|--all --verbose --yes]}}
boolean

Delete only index cache, tarballs, and log files

Example: conda clean {{[-itl|--index-cache --tarballs --logfiles]}}
-c, --tempfilesboolean

Delete only temporary [c]ache files that could not be deleted earlier due to being in use

Example: conda clean {{[-c|--tempfiles]}} {{path/to/tempfiles}}
-p, --packagesboolean

Delete only unused packages. Might delete packages installed with softlinks

Example: conda clean {{[-p|--packages]}}
-f, --force-pkgs-dirsboolean

Force delete all writable packages. More broad than the `--all` option. Will delete packages installed with softlinks

Example: conda clean {{[-f|--force-pkgs-dirs]}}
-h, --helpboolean

Display help

Example: conda clean {{[-h|--help]}}

Examples (6)

Delete all temporary or unused files verbosely and say yes to all confirmations

conda clean [-avy|--all --verbose --yes]

Delete only index cache, tarballs, and log files

conda clean [-itl|--index-cache --tarballs --logfiles]

Delete only temporary [c]ache files that could not be deleted earlier due to being in use

conda clean [-c|--tempfiles] path/to/tempfiles

Delete only unused packages. Might delete packages installed with softlinks

conda clean [-p|--packages]

Force delete all writable packages. More broad than the `--all` option. Will delete packages installed with softlinks

conda clean [-f|--force-pkgs-dirs]

Display help

conda clean [-h|--help]
made by @shridhargupta | data from tldr-pages