anaconda list python environments code example Example 1: anaconda remove environment conda env remove -n ENV_NAME Example 2: conda deactivate conda deactivate