check current conda environment code example
Example 1: anaconda remove environment
conda env remove -n ENV_NAME
Example 2: clone an environment conda
conda create --name myclone --clone myenv
conda env remove -n ENV_NAME
conda create --name myclone --clone myenv