change conda on command line code example Example 1: conda list environments conda info --envs Example 2: remove conda environment conda remove --name myenv --all