conda get environment packages code example
Example 1: conda env
conda create -n myenv python=3.6
Example 2: delete conda environment
conda remove --name myenv --all
conda create -n myenv python=3.6
conda remove --name myenv --all