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