T
The Daily Insight

How to delete conda environment

Author

Olivia House

Published Feb 26, 2026

Table of Contents

How do you remove an environment?

ON WINDOWS
  1. Right-click on My Computer and select Properties.
  2. Go to the Advanced system settings tab.
  3. Click the Environment Variables button. The Environment Variables dialog opens.
  4. Select the environment variable you want to delete and click Delete.
  5. Repeat step 4 as many times as necessary.
  6. Click OK.

How do I delete a Conda base?

3 Answers
  1. Just disable the base environment, make sure your conda >= 4.6 .
  2. Enable the base environment, which is the default behavior of conda , but don’t modify your prompt.

How do you delete a virtual environment?

There is no command for deleting your virtual environment. Simply deactivate it and rid your application of its artifacts by recursively removing it.

How do you delete an environment in Python?

For example, the following command can be used to create the virtual environment virt2 with Python3 in it, if you have Python3 installed on your machine. And to delete a virtual environment you use the rm -r command like you do with any other directory you want to delete.