how to create a conda environment in linux terminal code example
Example 1: conda remove environment
conda remove --name myenv --all
Example 2: conda create environment based on requirements.txt
pip install -r requirements.txt
conda create --name <env_name> --file requirements.txt
Example 3: delete conda env
conda env remove -n ENV_NAME
Example 4: how to activate conda environment on linux terminal
conda create --name <env_name>
conda activate <env_name>
source ~/anaconda3/etc/profile.d/conda.sh
conda activate <env_name>
Example 5: how to activate conda environment
conda activate myenv