In this article, we will explain how to uninstall Anaconda completely and safely on your Mac. You can remove Anaconda manually or do it with a special uninstaller. We will explain both options for managing Anaconda cleanup.
Contents:
- What is Anaconda?
- Why remove Anaconda from a Mac?
- How to uninstall Anaconda manually
- How to uninstall Anaconda with several clicks
Video Guide: Deleting Anaconda on a Mac
What is Anaconda?
Anaconda is the most popular distribution of the Python and R programming languages. It is available for various operating systems, including macOS, Windows, and Linux. Anaconda provides everything you need to solve data analysis and processing.
Anaconda has a massive Library support. It includes over 7,500 open-source packages, covering everything from NumPy, Pandas, TensorFlow, Matplotlib, to advanced AI frameworks.
According to Business Wire, 90% of Fortune 500 companies use Anaconda for data science and machine learning tasks.
Why remove Anaconda from a Mac?
Over time, managing dependencies within conda environments can become complex, especially when using different versions of Python and third-party libraries. Due to this you may want to remove Anaconda from your computer.
Also, there are some other possible reasons why you may need to uninstall Anaconda from a Mac:
- Anaconda takes up a lot of disk space due to the many pre-installed packages and dependencies.
- Anaconda modifies the default Python path, which can lead to conflicts when running Python-based applications or system scripts on macOS.
- You may prefer using Homebrew for Python and package management instead of Anaconda’s conda.
- You may prefer switching to Miniconda (a minimal version of Anaconda) or virtual environments (venv or pyenv).
How to uninstall Anaconda on Mac manually
Generally, there are two possible ways to remove Anaconda manually: You can do it via Terminal as suggested on Anaconda official website or use our complete step-by-step uninstallation guide with screenshots.
Method 1: Uninstall Anaconda using Terminal
Anaconda’s official website recommends uninstalling their application using the Anaconda-Clean application that can be launched via Terminal command line. To do this, you should follow the steps below:
- Go to the Applications folder and remove Anaconda icon into the Trash.
- Open Terminal.
- In Terminal window, type the following command:
- Press the Return key.
- Then enter the following command:
- For removing Anaconda directory which can be named either anaconda2 or anaconda3 enter the appropriate command:
- The last step is to remove Anaconda-Clean backups. For this type up the following command into Terminal:
conda install anaconda-clean
anaconda-clean –yes
rm -rf ~/anaconda3
rm -rf ~/.anaconda_backup
Please note that this removal method may leave Anaconda-related files on your Mac. Below, we’ll explain how to remove Anaconda along with all its remaining files.
Method 2: Uninstall Anaconda using Finder
- Quit Anaconda. Right-click it in the Dock panel and hit Quit.
- Check whether the Anaconda app or all the processes are running on the background. For this, open the Activity Monitor app > go to the Memory tab > terminate any Anaconda-related processes by clicking the Close button.
- Open Finder and from the Applications folder remove Anaconda.
- After that, it’s time to find out where Anaconda keeps its package service files and remove them. Most of them are stored in the Library folder. However, the Library folder is the hidden one, so to find it you have to open the Finder window → click Go in the menu bar → choose Go to Folder.
- On the search panel, type ~/Library and press Return.
- Navigate the following directions in the Library folder and remove Anaconda-related files.
- ~/Library/Receipts/io.continuum.pkg.anaconda-client.bom
- ~/Library/Receipts/io.continuum.pkg.anaconda-client.plist
- ~/Library/Receipts/io.continuum.pkg.anaconda-navigator.bom
- ~/Library/Receipts/io.continuum.pkg.anaconda-navigator.plist
- ~/Library/Receipts/io.continuum.pkg.anaconda-project.bom
- ~/Library/Receipts/io.continuum.pkg.anaconda-project.plist
- ~/Library/Receipts/io.continuum.pkg.anaconda.bom
- ~/Library/Receipts/io.continuum.pkg.anaconda.plist
- ~/Library/Containers/
- ~/Library/Application Support/
- ~/Library/Logs/
- ~/Library/Application Scripts/
- ~/Library/Caches/
- ~/Library/Preferences
- ~/anaconda3
- ~/.bash_profile-anaconda3.bak
- ~/.condarc
- ~/.conda
- ~/.anaconda
- Finally, you need to empty the Trash folder.
Depending on the user settings and operations you performed with Anaconda, some other Anaconda associated files may be left behind. Therefore, it is better to check the following Anaconda directory and remove all files related to Anaconda.
Instead of searching in the Anaconda path and filling all the files manually, you can save time by using a free tool from Nektony: Funter.
To find Anaconda remaining files with Funter you should launch the app → enter the word Anaconda into the search line → check the results and delete all hidden files that are related to the Anaconda application.
With the help of Funter, we managed to find this list of useless Anaconda remains:
Remove Anaconda on Mac – the easy way
The manual search for apps’ accosiated files, especially if they are scattered on a hard drive, is inefficient. You may miss some files, and it takes a fair amount of time. That’s why we recommend that you uninstall Anaconda automatically.
The automatic method requires using a specialcleanup utility – App Cleaner & Uninstaller. This software automatically collects all the service files of each app and allows you to uninstall them with one click. Here is how to use it:
- Launch App Cleaner & Uninstaller.
- Find Anaconda in the left panel.
- Click the Remove button.
- In the next window confirm the deletion.
If you switch on the Expert mode, you can see all the Anaconda app’s support files in the right section of the window.
In case you previously removed Anaconda manually and are not sure whether you removed all of the leftover files, you can check iit with App Cleaner & Uninstaller. Moreover, you might use this feature to find the remains of other previously-removed apps as well.
- Open the uninstaller.
- Switch to the Remaining Files tab.
- Select applications’ leftovers.
- Click to remove them and confirm.
We hope this exhaustive guide has answered all of your questions about how to uninstall Anaconda on a Mac.
The manual way is quite time-consuming. Moreover, it never guarantees that you get rid of all the service files, because sometimes they can be spread all over your hard drive. That is why we recommend you using a third-party removal tool like App Cleaner & Uninstaller.