anaconda command prompt change environment code example
Example 1: conda remove environment
conda remove --name myenv --all
Example 2: conda create environment based on requirements.txt
# using pip
pip install -r requirements.txt
# using Conda
conda create --name <env_name> --file requirements.txt
Example 3: anaconda duplicate environment
conda create --name myclone --clone myenv
Example 4: anaconda remove environment
conda env remove -n ENV_NAME