snippetbashTip
conda clean — Delete temporary or unused files: index cache, lock files, unused cache packages, tarballs, and log
Viewed 0 times
deletecommandfilesunusedindextemporarycliconda clean
Problem
How to use the
conda clean command: Delete temporary or unused files: index cache, lock files, unused cache packages, tarballs, and log files. More information: <https://docs.conda.io/projects/conda/en/stable/commands/clean.html>.Solution
conda clean — Delete temporary or unused files: index cache, lock files, unused cache packages, tarballs, and log files. More information: <https://docs.conda.io/projects/conda/en/stable/commands/clean.html>.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]}}Code Snippets
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]}}Context
tldr-pages: common/conda clean
Revisions (0)
No revisions yet.