conda rename an environment code example
Example 1: conda create environment
conda create -n myenv python=3.6
Example 2: how to rename anaconda environment
conda create --name new_name --clone old_name
conda remove --name old_name --all # or its alias: `conda env remove --name old_name`