conda new environment from file code example
Example 1: conda create environment in specific path
conda create --prefix ./envs
conda activate ./envs
Example 2: conda create environment from file
conda env create -f environment.yml
conda create --prefix ./envs
conda activate ./envs
conda env create -f environment.yml