windows cmd activate conda code example Example 1: conda activate virtual environment conda activate env-name Example 2: how to activate conda environment conda activate myenv