Table of Contents
FAQ
Home System Tutorial MAC How to uninstall Anaconda on Mac: Complete removal guide

How to uninstall Anaconda on Mac: Complete removal guide

Apr 14, 2025 am 09:09 AM

Completely 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.

How to uninstall Anaconda on Mac: Complete removal guide

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:

  1. Install and open CleanMyMac.
  2. Go to the Applications tab and click Scan.
  3. After the scan is complete, click Manage My Applications.
  4. Under Uninstall Programs > All Applications, select Anaconda-Navigator. Make sure everything is selected.
  5. Then, click Uninstall.

How to uninstall Anaconda on Mac: Complete removal guide

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:

  1. Go to Finder > Applications > Utilities > Terminal.
  2. Enter conda remove anaconda-navigator > Press Enter to confirm the deletion.

How to uninstall Anaconda on Mac: Complete removal guide

  1. Then, uninstall the directory using the commands rm -rf ~/anaconda3 or sudo rm -rf /opt/anaconda3 (for system-wide installation). For the latter, enter your password when prompted.

How to uninstall Anaconda on Mac: Complete removal guide

  1. Use the command rm -rf ~/.condarc ~/.conda ~/.anaconda ~/.continuum to delete hidden files and directories.

  2. 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:

  1. Go to Finder > Applications > Utilities > Terminal.

  2. Enter nano ~/.zshrc > Press Enter.

  3. Find the text block between the following lines:

    • # >>> conda initialize >>>
    • #
  4. Use Option K to delete everything.

How to uninstall Anaconda on Mac: Complete removal guide

  1. Press Control X to save and exit, then press Y and press Enter.

How to uninstall Anaconda on Mac: Complete removal guide

  1. Reload the configuration file by entering the command source ~/.zshrc .

You can then exit the terminal.

How to uninstall Anaconda on Mac: Complete removal guide

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:

  1. Open Finder.
  2. Click Go to > Go to Folder in the menu bar.
  3. If you have Anaconda installed system-wide, type /anaconda3 or /opt/anaconda3 and press Enter.
  4. Select all files, right-click > select Move to Trash.

How to uninstall Anaconda on Mac: Complete removal guide

  1. 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.
  2. 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:

  1. Open Finder > Press Command Shift H to go to the home folder.
  2. Press Command Shift . to display the hidden file.
  3. 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.
  4. Delete all content (including these lines) between # >>> conda initialize >>> and # .

How to uninstall Anaconda on Mac: Complete removal guide

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.

How to uninstall Anaconda on Mac: Complete removal guide

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:

  1. Go to Finder > Applications > Utilities > Terminal.
  2. Uninstall the Miniconda directory by running the command rm -rf ~/miniconda3 or sudo rm -rf /opt/anaconda3 . If prompted, enter your password.
  3. Use the command rm -rf ~/.condarc ~/.conda ~/.continuum to delete the relevant configuration files.

How to uninstall Anaconda on Mac: Complete removal guide

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:

  1. Go to Finder > Applications > Utilities > Terminal > Check if the (base) indicator has disappeared.
  2. 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:

  1. Go to Finder > Applications > Utilities > Terminal.
  2. 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.

How to uninstall Anaconda on Mac: Complete removal guide

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:

  1. Open Finder > Applications > Utilities > Terminal.

  2. Type echo $CONDA_PREFIX and press Enter.

  3. 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:

  1. Open Finder > Applications > Utilities > Terminal.
  2. Type conda --version and press Enter.
  3. 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!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Spotify on Apple Watch: How to use it in 2025 Spotify on Apple Watch: How to use it in 2025 Apr 04, 2025 am 09:55 AM

With the support of Apple devices' interconnected ecosystem, managing and synchronizing your Apple devices has become a breeze. Unlock Mac with Apple Watch? Simple! (If you haven't set this unlocking method yet, you should really try it, it's very time-saving). Can you pay with Apple Watch without using iPhone? Apple can handle it easily! Today we will focus on how to download the Spotify playlist to an Apple Watch and play without an iPhone. Spoiler: This is possible. How to use Spotify on Apple Watch: A quick overview Let's dive into the key issues and their solutions directly. If this form helps you, that would be great! If you

Floating screen recording: how to capture a specific app window on a Mac Floating screen recording: how to capture a specific app window on a Mac Mar 28, 2025 am 09:16 AM

Mac Screen Recording: Easily capture windows, areas and drop-down menus The screenshot tool (Command Shift 5) that comes with Mac systems can record full screen or selected areas, but cannot record specific application windows separately. At this time, more powerful tools are needed to complete the task. This article will introduce several ways to help you record your Mac windows as easily as a professional. Record the application window separately Record a single window to avoid cluttered desktop backgrounds and create more professional and prominent images and videos. Here are some excellent screen recording applications: Function comparison Gifox CleanShot X Dropshare Record a specific window ✓ ✓ ✓

How to get rid of 'Your screen is being observed' error How to get rid of 'Your screen is being observed' error Apr 05, 2025 am 10:19 AM

When you see the message "Your screen is being monitored", the first thing you think of is someone hacking into your computer. But that's not always the case. Let's try to find out if there are any issues that need you to worry about. Protect your Mac With Setapp, you don't need to worry about choosing a tool to protect your computer. You can quickly form your own suite of privacy and security software on Setapp. Free Trial Security Test What does "Your screen is being monitored" mean? There are many reasons why there is a Mac lock screen message that appears with “Your screen is being monitored”. You are sharing the screen with others You are recording the screen You are using AirPlay You are using some apps that try to access your screen Your computer is infected with evil

Email is not syncing? How to refresh the Mail app on Mac Email is not syncing? How to refresh the Mail app on Mac Apr 04, 2025 am 09:45 AM

Mac mail synchronization failed? Quick solution! Many Mac users rely on the included Mail app because it is simple and convenient. But even reliable software can have problems. One of the most common problems is that Mail cannot be synced, resulting in recent emails not being displayed. This article will guide you through email synchronization issues and provide some practical tips to prevent such issues. How to refresh the Mail app on your Mac Operation steps Click the envelope icon Open the Mail app > View > Show Tab Bar > Click the Envelope icon to refresh. Use shortcut keys or menu options Press Shift Command N. Or open the Mail app

How to show only active apps in Dock on Mac How to show only active apps in Dock on Mac Apr 09, 2025 am 11:44 AM

Mac Dockbar Optimization Guide: Show only running applications The dock bar of your Mac is the core of the system, from which you can launch Finder, Trash, recently used apps, active apps, and bookmark apps, and even add folders such as Document and Downloads. By default, the Mac dock bar will display more than a dozen Apple-owned applications. Most users will add more applications, but rarely delete any applications, resulting in the dock bar being cluttered and difficult to use effectively. This article will introduce several ways to help you organize and clean up your Mac dock bar in just a few minutes. Method 1: Manually organize the dock bar You can manually remove unused applications and keep only commonly used applications. Remove the application: Right-click on the application

How to uninstall Honey from Mac How to uninstall Honey from Mac Apr 04, 2025 am 10:13 AM

See all articles