How to completely uninstall Conda on mac

1. Since Anaconda’s installation files are all included in one directory, just delete the directory directly. Delete the entire Anaconda directory
2. Use the Anaconda-Clean tool to delete

  • Install Anaconda-Clean: Enter in the terminal and press Enter:

conda install anaconda-clean

  • Run the tool anaconda-clean, enter it directly in the terminal and press Enter
anaconda-clean


After running the anaconda-clean command, the command line will prompt whether to delete it, just select y.

  • Delete all Anaconda directories (Note: Anaconda folders may be in other locations, please note)

At this point, you can delete Anaconda and reinstall a new Anaconda. If you want to delete it more completely, continue the following two or three steps before installing a new Anaconda.

The second step is to delete the anaconda environment variables in ~/.bash_profile and use vim to open and delete;

The third step is to delete Anaconda’s hidden files. Refer to the execution command: rm -rf ~/.condarc ~/.conda ~/.continuum

After the above 3 steps, Anaconda is completely deleted.

Guess you like

Origin blog.csdn.net/weixin_45906701/article/details/129910796