sudo rm -rf ~/anaconda3 ~/.condarc ~/.conda ~/.continuum
remove path from .bashrc file which looks like:
PATH="/home/myuser/anaconda3/bin:$PATH
source ~/.bashrc
#Install anaconda-clean
conda install anaconda-clean
#start anaconda-clean
anaconda-clean --yes
rm -rf ~/anaconda3 ~/.condarc ~/.conda ~/.continuum #To execute in terminal
export PATH="/Users/jsmith/anaconda3/bin:$PATH"