how to get list of conda virtual environments code example Example 1: conda list environments conda info --envs Example 2: conda deactivate conda deactivate