conda check the existed enviroment list code example
Example 1: conda delete environment
conda remove --name myenv --all
Example 2: conda activate virtual environment
conda activate env-name
conda remove --name myenv --all
conda activate env-name