cmd activate anaconda code example Example 1: new env in conda conda create --name myenv Example 2: conda activate virtual environment conda activate env-name