delete environment in anaconda environment code example Example 1: remove environment conda conda remove --name myenv --all Example 2: conda env conda env list