clean install anaconda windows code example

Example: anaconda clean uninstall everything

Install the Anaconda-Clean package from Anaconda Prompt (terminal on Linux or macOS):

conda install anaconda-clean
In the same window, run one of these commands:

Remove all Anaconda-related files and directories with a confirmation prompt before deleting each one:

anaconda-clean
Or, remove all Anaconda-related files and directories without being prompted to delete each one:

anaconda-clean --yes
Anaconda-Clean creates a backup of all files and directories that might be removed in a folder named .anaconda_backup in your home directory. Also note that Anaconda-Clean leaves your data files in the AnacondaProjects directory untouched.

After using Anaconda-Clean, follow the instructions above in Option A to uninstall Anaconda.