environment list in conda code example Example 1: conda list environments conda info --envs Example 2: remove environment conda conda remove --name myenv --all