conda change active env location code example Example 1: conda env conda create --name myenv Example 2: conda activate env conda activate myenv