W3docs

Removing Conda environment

To remove a conda environment, you can use the following command:

To remove a conda environment, you can use the following command:

Remove conda environment

conda env remove --name myenv

This will remove the environment named "myenv" and all packages installed in it.

Note that you must deactivate the environment before removing it. If you are currently inside the environment, deactivate it first with conda deactivate. Alternatively, you can force removal while active by adding the --force flag:

conda env remove --name myenv --force

Both commands will remove the environment and all packages installed in it.