delete conda env code example
Example 1: list conda environments
conda info --envs
conda env list
Example 2: conda remove environment
conda remove --name myenv --all
Example 3: delete conda from machine
conda install anaconda-clean # install the package anaconda clean
anaconda-clean --yes # clean all anaconda related files and directories
rm -rf ~/anaconda3 # removes the entire anaconda directory
rm -rf ~/.anaconda_backup # anaconda clean creates a back_up of files/dirs, remove it
# (conda list; cmd shouldn't respond after the clean up)
Example 4: conda env
conda create -n myenv python=3.6
Example 5: conda env
conda create --name myenv
Example 6: delete conda env
conda env remove -n ENV_NAME