Need to uninstall Anaconda Navigator?
Need to uninstall Anaconda Navigator?
Need to uninstall Miniconda?
Need to uninstall Miniconda?
For specific instructions on how to uninstall Miniconda, see Uninstalling Miniconda.
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 Anaconda Distribution, back up your environments before uninstalling by exporting them to a.yaml file using the following command:
Replace <ENV_NAME> with the name of the environment you want to back up.
.yaml file to recreate your environments after reinstalling. For more information, see Creating an environment.
Uninstall procedure
Follow the uninstall procedure below for your operating system:- Windows
- macOS/Linux
- Control Panel uninstall
- Silent CLI uninstall
-
(Optional) If you have created any environments outside your
anaconda3directory, Anaconda recommends manually deleting them to increase available disc space on your computer. This step must be performed before uninstalling Anaconda Distribution.Uninstall environments outside the anaconda3 directory
- Open Anaconda Prompt.
-
View a list of all your environments by running the following command:
If you have any environments in a directory other than
anaconda3, 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. -
Uninstall the directory by running the following command:
Replace <YOUR_USERNAME> with your Windows username.
Replace <PATH_TO_ENV_DIRECTORY> with the path to the directory that contains the environments.
- Search for “Control Panel” in the taskbar search and select the Control Panel app.
- Click Uninstall a program under Programs.
- Select Anaconda from the list of programs.
- Click Uninstall.
- Follow the on-screen instructions to complete the uninstallation process.
- (Optional) Verify your uninstall was successful by searching for “Anaconda Prompt” in the taskbar search. The program should no longer appear.
Troubleshooting
Files left behind after uninstalling Anaconda on Windows
Cause
Some users may need to keep settings files and other users may need to delete them, so Anaconda leaves some settings files in place when it is uninstalled. Specifically, the directories
.spyder2, .ipython, .matplotlib, and .astropy remain. Depending on your version of Windows, these may be in C:\Documents and Settings\<USERNAME> or in C:\Users\<USERNAME>.Replace
<USERNAME> with your Windows username as it appears in the Documents and Settings or Users folder.Solution
Manually delete any unneeded settings files.
Uninstaller requests admin privileges on Windows
Cause
After installing Anaconda or Miniconda as a non-administrative user on Windows, uninstalling may prompt for administrative privileges.
This occurs when running the uninstaller by choosing Control Panel > Uninstall a program, selecting Anaconda or Miniconda from the list of programs, and clicking Uninstall.
This occurs when running the uninstaller by choosing Control Panel > Uninstall a program, selecting Anaconda or Miniconda from the list of programs, and clicking Uninstall.
Solution
Open the
EXAMPLE: If you installed Miniconda3, the uninstall file will be
anaconda3 or miniconda3 installation folders and run the .exe file uninstaller from that location. Uninstallation will complete without prompting for administrative privileges.EXAMPLE: If you installed Miniconda3, the uninstall file will be
Uninstall-Miniconda3.exe. Users who installed Miniconda2 or Anaconda will find a similar file with the appropriate name.Uninstall.sh not found
Cause
It is likely that you are receiving the
uninstall.sh not found error for one of two reasons:- You are not using the correct file path to run the
uninstall.shfile. - The
uninstall.shscript was introduced in Anaconda Distribution 2025.06 (released June 23, 2025) and Miniconda 24.11.1 (released December 16, 2024). If you installed either product before those releases, theuninstall.shfile is not included.
Solution
Use the following instructions to find your
uninstall.sh file and use it:- Open a new Terminal window.
-
Run the following command to find your installation folder:
-
Check the contents of your installation folder for the
uninstall.shscript:Replace <PATH/TO/INSTALLER> with the returned path from the previous command. -
If your install is in your home directory (
\Users\<USERNAME>\or\home\<USERNAME>), use the macOS/Linux Basic uninstall instructions.
If your install is in your\opt\folder, use the macOS/Linux System uninstall instructions.
If your install folder does not contain theuninstall.shfile, use the macOS/Linux Manual uninstall instructions.