How to uninstall Anaconda on Mac: Complete removal guide
Apr 14, 2025 am 09:09 AMCompletely uninstalling Anaconda on your Mac: a step-by-step guide
Anaconda is loved by data scientists because it simplifies Python and R programming and is widely used in tasks such as machine learning and data analysis. But it's powerful, and you might want to uninstall it to free up disk space, switch to another development environment, or stop using it altogether.
However, uninstalling Anaconda is not as simple as dragging an icon to the trash. This package contains many hidden files, environment variables, and configurations that you need to process to ensure that the program is completely removed from your Mac. It's like a cunning snake.
I remember how difficult it was when I first uninstalled this distribution, as it left a lot of clutter, but I'm going to show you different ways – from fast app-based solutions to manual deletion methods.
How to delete Anaconda on Mac
Before we proceed, let's quickly review how to quickly delete Anaconda:
I think... | How to operate |
---|---|
Anaconda is uninstalled in a few clicks | Use CleanMyMac's "Applications" feature. |
Manually delete Anaconda | Use the terminal's conda remove anaconda-navigator command. |
Remove Anaconda from .bash_profile | Use the built-in Nano editor on the terminal. |
Use Finder to delete Anaconda | Delete /anaconda3 or /opt/anaconda3 via Go to > Go to Folder. |
Uninstall Miniconda | Delete the directory rm -rf ~/miniconda3 or sudo rm -rf /opt/anaconda3 in the terminal. |
Verify that Anaconda is completely uninstalled | Run conda --version in the terminal and then run echo $PATH to make sure there are no directories left. |
Uninstall the app and clean your Mac with one click
CleanMyMac can uninstall applications, delete junk files, and increase speed, helping your Mac run at the best performance. Available on Setapp.
Trial free security beta version
Uninstall Anaconda on Mac with one click
There are several ways to get rid of Anaconda on Mac, and I will start with my favorite method. This is the fastest way, and requires little effort.
Uninstall Anaconda using CleanMyMac
Using CleanMyMac is the easiest and fastest way to uninstall Anaconda. This is also my favorite Mac optimization tool, as it removes all hidden installation files, eliminates duplicates, and optimizes performance to make sure my Mac runs like new.
Here is how to completely uninstall Anaconda using CleanMyMac:
- Install and open CleanMyMac.
- Go to the Applications tab and click Scan.
- After the scan is complete, click Manage My Applications.
- Under Uninstall Programs > All Applications, select Anaconda-Navigator. Make sure everything is selected.
- Then, click Uninstall.
After clicking Uninstall, CleanMyMac will delete all Anaconda-related files, as these files may slow down your Mac or cause it to behave abnormally.
Use the terminal to manually remove Anaconda from your Mac completely
If you prefer the manual method (and you are a professional), you have full control and you can uninstall the distribution using the terminal.
Here is how to remove Anaconda from your Mac using a terminal:
- Go to Finder > Applications > Utilities > Terminal.
- Enter
conda remove anaconda-navigator
> Press Enter to confirm the deletion.
- Then, uninstall the directory using the commands
rm -rf ~/anaconda3
orsudo rm -rf /opt/anaconda3
(for system-wide installation). For the latter, enter your password when prompted.
Use the command
rm -rf ~/.condarc ~/.conda ~/.anaconda ~/.continuum
to delete hidden files and directories.Close the terminal. When you start the terminal again, you should no longer see the (base) environment indicator.
Tip: Manually removing Anaconda and similar software from your Mac can be troublesome, especially if you are not sure where the relevant files are hidden. I often encounter this problem on my Mac and the tool I rely on is Core Shell. It is everything the terminal should have. It allows you to perform all local terminal functions in a better, more customizable interface, and it also provides a GUI for managing remote connections. The app integrates with macOS Keychain and iCloud to remember all your connections, and it can save you a lot of time by making SSH connections seamless.
Remove Anaconda from .bash_profile
When Anaconda is installed, the PATH variable in the .bash_profile is modified to add its bin directory. This is very useful when you use this distribution, as it allows you to use Anaconda-related commands (like conda) directly from the terminal.
However, now that you have uninstalled Anaconda, the changes here will reference directories that do not exist, so they may cause errors when opening the terminal, or lead to incorrect Python versions.
You can edit the .bash_profile using the built-in Nano editor on the terminal.
Here is how to edit files using the Nano editor:
Go to Finder > Applications > Utilities > Terminal.
Enter
nano ~/.zshrc
> Press Enter.-
Find the text block between the following lines:
-
# >>> conda initialize >>>
-
#
-
Use
Option K
to delete everything.
- Press
Control X
to save and exit, then pressY
and press Enter.
- Reload the configuration file by entering the command
source ~/.zshrc
.
You can then exit the terminal.
Personal advice: I think you would agree that using Nano text editor on the terminal is annoying and slow. Rather than dealing with keyboard commands, I prefer CodeRunner's GUI. It makes editing configuration files easy, you just need the cursor and delete buttons. The app also makes encoding easy with its smart features such as code completion, automatic indentation and bracket management. You can configure it to work exactly the way you want and in any language.
Manually remove Anaconda from Mac via Finder
Maybe you've had enough of Anaconda's hidden files and want to make sure the installation is actually gone. In this case, you can use Finder to delete the file manually.
The following is a step-by-step process:
- Open Finder.
- Click Go to > Go to Folder in the menu bar.
- If you have Anaconda installed system-wide, type
/anaconda3
or/opt/anaconda3
and press Enter. - Select all files, right-click > select Move to Trash.
- Delete the anaconda3 folder. You can do this by returning to the opt folder (Go to Folder>/opt) or by using
Command Shift H
to return to the main location. - Right-click the Trash icon and click Clear Trash.
You have now deleted Anaconda. From there you can edit the .bash_profile or .zshrc file. to this end:
- Open Finder > Press
Command Shift H
to go to the home folder. - Press
Command Shift .
to display the hidden file. - Click on .bash_profile (for bash users) or .zshrc (for zsh users). You can choose the editor you like, but I recommend CodeRunner because it makes editing and running code easy and fast.
- Delete all content (including these lines) between
# >>> conda initialize >>>
and#
.
In some cases, especially when you are performing a system-wide installation, the .bash_profile file may be locked. If this is the case, you can go to the terminal and type the command sudo chown your_user_name ~/.bash_profile
. This should allow you to edit the file.
Note that for macOS Sequoia, you're likely to edit the .zshrc file instead of the .bash_profile, because zsh is now the default shell.
Tip: While manually deleting Anaconda files gives you more control, navigating between many folders associated with the software can be annoying. You can use PathFinder to simplify this task, which is basically an enhanced version of Finder. It shows you the path to a specific folder storage and has various shortcuts that make navigation easy. When uninstalling Anaconda, you will find its dual-pane interface very useful because you can access different storage and configuration folders at the same time.
Please read also:
- How to Uninstall Creative Cloud on Mac
- How to install Jupyter Notebook on Mac
- Uninstall Dropbox from Mac
- How to update Python on Mac
How to Uninstall Miniconda on Mac
Maybe you don't want to install Anaconda because it's very comprehensive, so you choose to install a simpler version of Miniconda. It doesn't have many packages preinstalled, but it still creates directories and configuration files specific to its environment.
To completely remove Miniconda, the process you need to follow is similar to deleting Anaconda.
Here is how to operate:
- Go to Finder > Applications > Utilities > Terminal.
- Uninstall the Miniconda directory by running the command
rm -rf ~/miniconda3
orsudo rm -rf /opt/anaconda3
. If prompted, enter your password. - Use the command
rm -rf ~/.condarc ~/.conda ~/.continuum
to delete the relevant configuration files.
You can now proceed to edit the .bash_profile or .zshrc file to delete the Miniconda edit.
Verify that Anaconda is completely uninstalled
Considering that Anaconda is difficult to uninstall completely, it is very important to verify that it is indeed gone. You don't want hidden files or settings to slow down your Mac or cause problems in the future.
Here is how to verify that Anaconda is uninstalled:
- Go to Finder > Applications > Utilities > Terminal > Check if the (base) indicator has disappeared.
- Type the command
conda --version
to see if the system still recognizes Anaconda or its package manager (conda).
If Anaconda is uninstalled correctly, you will not see the (base) indicator and the version check should display the error "conda not found". If you see a version number or some kind of conda-related response, it means that there is still some residue in your system.
After verifying that the installation does not exist, you can check that the directory still exists. to this end:
- Go to Finder > Applications > Utilities > Terminal.
- Type the command
echo $PATH
and view the output to make sure there is no Anaconda directory --/opt/anaconda3/bin
or~/anaconda3/bin
. If these directories still exist, you may need to manually delete them from the PATH in the .bash_profile or .zshrc file.
Completely uninstall Anaconda on your Mac
Uninstalling Anaconda on your Mac can be tricky due to hidden files and configurations, but it doesn't have to be a headache. If you are looking for the easiest way, CleanMyMac is your trusted assistant that can help uninstall all applications (and their dependencies) and simplify all Mac operations.
If you want a more hands-on approach, you can use Core Shell as an alternative to your terminal. It's more powerful and customizable, and it makes managing multiple hosts easy with a dedicated GUI. Apart from that, CodeRunner is great for editing those annoying shell file entries, while PathFinder is very good at managing files and directories through its dual-pane interface. All of these apps are available on Setapp – a platform with over 250 macOS and iOS apps, with just one subscription plan – you can try it for 7 days for free!
FAQ
Where is Anaconda installed on Mac?
Anaconda is usually installed in a folder named "anaconda3" in the user directory.
Here is how to find the installation path for Anaconda on your Mac:
Open Finder > Applications > Utilities > Terminal.
Type
echo $CONDA_PREFIX
and press Enter.-
Check the output:
- For single user: /Users/your-username/anaconda3
- For system scope: /opt/anaconda3
How to check if Anaconda is installed?
To check if Anaconda is installed on your Mac:
- Open Finder > Applications > Utilities > Terminal.
- Type
conda --version
and press Enter. - If Anaconda is installed, you will see the version number.
Optional: Type echo $PATH
to check if Anaconda's directory appears in the output.
This revised output maintains the original meaning while using different wording and sentence structures. The image URLs remain unchanged.
The above is the detailed content of How to uninstall Anaconda on Mac: Complete removal guide. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

If you've owned multiple Apple devices over the years, you might find yourself in a situation where some of those older Macs, iPhones, iPads, or other Apple hardware have been sold, given away, or traded. No matter how they left your possession, it's

When typing on a Mac using a Windows keyboard, the Win key corresponds to the Command key and the Alt key corresponds to the Option key; 1. Understand the key mapping: The Win key replaces the Command key for commonly used shortcut keys such as Command C/V, the Alt key replaces the Option key for special symbol input, and the right Alt key may be mapped to Control or other functions; 2. Adjust the keyboard mapping can be customized through system settings or third-party tool Karabiner-Elements; 3. In terms of function keys and multimedia key support, the F key needs to be used with the Fn key, the default brightness and volume function can be adjusted, and some brand shortcut keys are incompatible and need to be customized; 4. Common shortcut key comparison includes copy and paste.

The default mail application of Mac can be changed to Outlook, Spark and other clients. The specific steps are as follows: 1. Open "System Settings" or "System Preferences" and enter the "Default Application" section; 2. Select the target mailbox application in the "Email" column; 3. If the target application is not displayed, check whether it supports mail protocol binding, try to restart the application or update the version; 4. Test whether the change is effective, click the web email link to confirm whether the pop-up application is the target client. Complete the above steps to successfully switch the default mailbox.

To reopen closed tabs on Mac, launch Safari and navigate to the History menu. Then select either Reopen Last Closed Tab, Reopen Last Closed Window, or click on Recently Closed to restore all tabs from your previous browsing session.Common reasons to

For Mac users who are also sports enthusiasts, there’s a handy little free application known as MenuScores. This app displays the game of your choice directly in the menu bar, making it easy to monitor scores or upcoming game times with just a glance

Some Mac users have noticed that their Contacts app occasionally loses all contact information, leaving the entire address book empty. While this situation is definitely concerning, there's a bright side — in most cases, it’s an easy fix, and your co

To share your Mac screen with others, you can choose the appropriate method according to different scenarios. First, through video conferencing tools such as Zoom, click the "Share" button to select the screen or a specific window for sharing; second, use Messages or FaceTime to initiate a screen sharing session, click the " " to select "Screen Sharing" and invite the other party to view or control it; third, use the "Screen Sharing" App that comes with the system to enable this function on the target Mac and connect to the server address through Finder to achieve remote access; in addition, you need to pay attention to details such as permission settings, privacy protection and network performance impact.

How to transfer files from Mac to external hard driveWhen moving files, you physically remove them from their original location. Copying files, meanwhile, preserves the original file location—pasting a second version to
