Skip to main content
This page provides comprehensive uninstallation procedures for Miniconda for all operating systems, including options for silent removal and cleanup of associated configuration files, caches, and user data.
The uninstall procedure might leave behind certain artifacts, such as desktop shortcuts or supplementary files, that must be deleted manually after uninstalling. This is a known issue.

Backing up environments

If you plan to reinstall Miniconda, back up your environments before uninstalling by exporting them to a YAML file using the following command:
conda env export --name <ENV_NAME> > <ENV_NAME>.yaml
You can then use this .yaml file to recreate the environment after reinstalling. For more information, see Creating an environment.

Uninstall procedure

Follow the uninstall procedure below for your operating system:
  1. (Optional) If you have created any environments outside your miniconda3 directory, Anaconda recommends manually deleting them to increase available disc space on your computer. This step must be performed before uninstalling Miniconda.
    1. Open Anaconda Prompt.
    2. View a list of all your environments by running the following command:
      conda info --envs
      
      If you have any environments in a directory other than miniconda3, you will need to uninstall the directory that contains the environments. Uninstalling the directory with the following command deletes the environments’ contents and them from your user files.
    3. Uninstall the directory by running the following command:
      C:\Users\<YOUR_USERNAME>\miniconda3\_conda constructor uninstall --prefix <PATH_TO_ENV_DIRECTORY>
      
  2. If you have any environments with packages installed from the conda-pypi channel, delete them before beginning the uninstall:
    You can check the packages installed in an environment by activating the environment and running conda list:
    conda activate <ENV_NAME>
    conda list
    
    If you see conda-pypi in the Channel column, that environment needs to be deleted before uninstalling.
    conda remove --name <ENV_NAME> --all
    
  3. Search for “Control Panel” in the taskbar search and select the Control Panel app.
  4. Click Uninstall a program under Programs.
  5. Select Anaconda from the list of programs.
  6. Click Uninstall.
  7. Follow the on-screen instructions to complete the uninstallation process.
  8. Verify your uninstall was successful by searching for “Anaconda Prompt” in the taskbar search. The program should no longer appear.

Troubleshooting