anaconda list env packages code example
Example 1: how to make a conda environment
conda create --name myenv
#to activate environment:
conda activate myenv
Example 2: conda delete environment
conda remove --name myenv --all
conda create --name myenv
#to activate environment:
conda activate myenv
conda remove --name myenv --all