Apps · free up space
How to uninstall Anaconda on a Mac
Open a new Terminal window, run conda deactivate, then run ~/anaconda3/uninstall.sh (or sudo -E /opt/anaconda3/uninstall.sh if Anaconda is installed in /opt). Add --remove-caches, --remove-config-files user and --remove-user-data to take its caches, .condarc and ~/.conda too. Installers older than Anaconda Distribution 2025.06 have no script: run conda init --reverse --all, then delete the anaconda3 folder.
Before you start: what goes with it
Everything inside the anaconda3 folder goes: the base environment, every environment created inside it, and every package conda downloaded. If you might want an environment again, export it first; Anaconda's own steps begin with this. Run the second line once for each environment the first one lists:
conda info --envsconda env export --name <ENV_NAME> > <ENV_NAME>.yamlThe YAML file records the environment's packages, so it can be rebuilt after a reinstall. Keep it somewhere outside the Anaconda folder.
Two more checks from Anaconda's list, before anything is removed:
- Environments outside
anaconda3. If the list shows an environment stored somewhere else, Anaconda recommends removing it before you uninstall, with the command below. - Environments with conda-pypi packages. Activate each environment and run
conda list. Ifconda-pypiappears in the Channel column, Anaconda says that environment must be deleted (conda remove --name <ENV_NAME> --all) before uninstalling.
conda remove --prefix <PATH_TO_ENV_DIRECTORY> --allFind where it is installed
Anaconda can be installed in your home folder or in a system folder such as /opt, which is where the macOS .pkg installer can put it. Ask conda:
conda info --baseLook in that folder for uninstall.sh. Anaconda added it in Anaconda Distribution 2025.06 and Miniconda 24.11.1; an older install will not have it, and the manual steps further down apply instead.
Uninstall with Anaconda's script
- Open a new Terminal window.
- Run
conda deactivate. The(base)at the start of the prompt should disappear. - Run the script for where Anaconda is installed. In your home folder:
conda deactivate
~/anaconda3/uninstall.shIn /opt, with your administrator password:
conda deactivate
sudo -E /opt/anaconda3/uninstall.shOn its own the script leaves a few files behind. To remove its package and index caches, the configuration file .condarc and the user data in ~/.conda as well, add its three optional flags (for an install in /opt, put sudo -E /opt/anaconda3/uninstall.sh in front of them instead):
~/anaconda3/uninstall.sh --remove-caches --remove-config-files user --remove-user-dataAnaconda's own cautions: the flags are not recommended if you have more than one conda installation; and if files outside the install folder are symbolic links, only the links may be removed, leaving the files they point to for you to delete.
Older installs: by hand
Without uninstall.sh, Anaconda's manual route is three steps:
- Take conda out of your shell profile. Optionally, remove conda's initialisation from your shell's startup files with the commands below.
- Delete the
anaconda3folder (for an install in/opt,sudo rm -rf /opt/anaconda3). - Optionally, delete the configuration and data in your home folder. Keep
.condarcif it holds settings you want for a reinstall.
conda activate
conda init --reverse --allrm -rf ~/anaconda3rm -rf ~/.condarc ~/.conda ~/.continuumrm -rf deletes outright, with no Trash and no undo, so read each path twice. For the folder in your home folder there is a gentler way: in Finder press Shift-Command-G, type ~, and drag anaconda3 to the Trash. It can then come back until you empty the Trash.
Miniconda and Navigator
- Miniconda uninstalls the same way, with
miniconda3in place ofanaconda3in every path:~/miniconda3/uninstall.sh, orsudo -E /opt/miniconda3/uninstall.sh. If you installed the protected base installer, the folder isminiconda3_pbe. - Anaconda Navigator is a package in the base environment, not a separate install. Removing it (
conda remove --name base anaconda-navigator) leaves conda, your environments and your packages where they are, so it is not an uninstall of Anaconda.
Checking it has gone
Close Terminal and open a new window. If (base) no longer appears in the prompt, the uninstall worked. Anaconda notes, as a known issue, that the uninstall can leave artefacts such as shortcuts behind, to be deleted by hand. To see whether any of the usual folders remain, and how big they are:
du -sh ~/anaconda3 ~/miniconda3 /opt/anaconda3 /opt/miniconda3 ~/.conda 2>/dev/nullA line for a folder means it is still there. No output means none of them are.
Where the app comes in
RefreshYourMac has no Anaconda or conda category, so the uninstall itself is Anaconda's job, with the steps above. Anaconda is not a single app in Applications, which is what RefreshYourMac's Uninstall an App works on, and it does not look in hidden folders in your home folder, so ~/.conda and ~/.condarc stay a hand job. Its Project Build Folders category lists a project's own .venv Python environment, but only when the project has a requirements.txt or pyproject.toml to rebuild it from; conda environments are not in it. For what other developer tools leave on a Mac, see the Mac cleaner for developers, and for leftovers in general, the leftover files after uninstalling an app.
What to do next: see these numbers for your own Mac. Download RefreshYourMac free, or get it on the Mac App Store.
What it costs to have an app do this
| RefreshYourMac | CleanMyMac | MacKeeper | |
|---|---|---|---|
| Pay once | $24.99 | €119.95 on MacPaw’s store; $89.99 for CleanMyMac X on the Mac App Store | subscription only |
| Yearly | $14.99 a year, first 7 days free | $39.99/yr; €19.91/yr for the cleaning-only Essential Trio | €71.40 for the first year, 1 Mac. Their page shows it against a €119.40 list price |
| Monthly | $1.99 a month | $9.99/mo | €10.95/mo |
| Account needed | No | Yes | Yes |
Before you pay anything, both versions give you 3 free scans. CleanMyMac and MacKeeper prices read from their own pages and the Mac App Store on 27 October 2026; the full comparison is at RefreshYourMac vs CleanMyMac and MacKeeper.
Frequently asked questions
Does uninstalling Anaconda delete my conda environments?
Yes, every environment inside the anaconda3 folder goes with it, along with the packages conda downloaded. To keep one, export it first with conda env export --name <ENV_NAME> > <ENV_NAME>.yaml and store the file outside the Anaconda folder. Anaconda recommends removing environments stored elsewhere before you uninstall.
How do I uninstall Anaconda if there is no uninstall.sh?
The script arrived with Anaconda Distribution 2025.06 and Miniconda 24.11.1, so older installs use the manual route: run conda activate and conda init --reverse --all to take conda out of your shell profiles, delete the anaconda3 folder, and optionally delete ~/.condarc, ~/.conda and ~/.continuum.
How do I know Anaconda is fully uninstalled?
Close Terminal and open a new window. If (base) no longer appears at the start of the prompt, the uninstall worked. Anaconda notes that some artefacts, such as shortcuts, can be left behind and need deleting by hand.
Does uninstalling Anaconda Navigator remove Anaconda?
No. Navigator is a package in the base environment, and removing it leaves conda, your environments and your packages where they are. Anaconda’s own uninstall script is what removes the installation.