How to uninstall Anaconda / Miniconda on Windows 10

2019/4/12

first

There are two ways to do Anaconda or Miniconda in Windows OS.

Method XNUMX: Remove from Control Panel
Method XNUMX: Completely remove using Anaconda-Clean

Features of method XNUMX

Features of method XNUMX

  • You can delete all Anaconda and its related programs, related folders and configuration files
  • Use an uninstall tool called "Anaconda-Clean".
  • Anaconda needs to be functioning properly

Method XNUMX: Remove from Control Panel

  1. First, open Windows Explorer and delete the "envs" and "pkgs" folders on the Anaconda folder.
    (If you do not do this, it will take a long time to uninstall)
  2. Open [Add or Remove Programs] or [Uninstall a program] in [Control Panel].
  3. Select [Python 3.xx (Anaconda 3.xx)] and uninstall.
  4. Some files remain in the folder where Anaconda was installed, so delete them manually if you don't need them.



Method XNUMX: Completely remove using Anaconda-Clean

  1. Install the Anaconda-Clean package from Anaconda Prompt.
    conda install anaconda-clean
  2. Execution of delete command
    anaconda-clean

    Before deleting, there are confirmations of files and folders related to Anaconda, so answer yes (y) for all.

    If you do not need to confirm

    anaconda-clean --yes
  3. Since Python remains, uninstall [Python 3.xx (Anaconda 3.xx)] from [Uninstall a program] in [Control Panel].

Note that Anaconda-Clean creates a backup of the deleted files and directories with the name .anaconda_backup.Also, the data files in the Anaconda Projects folder are left undeleted.

reference
Anaconda Documentation: https://docs.anaconda.com/anaconda/install/uninstall/