> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/virtual-environments/managing-virtual-environments-versions-and-flows/managing-virtual-environments/deleting-a-virtual-environment.md).

# Deleting a virtual environment

## Introduction

If a virtual environment is no longer used, you can delete it. Deleting a virtual environment removes it entirely.

## Need to know

* You cannot delete a virtual environment if it includes flow deployments, irrespective of whether these are enabled or disabled. In this scenario, you must [delete all existing flow deployments](/product-documentation/virtual-environments/managing-virtual-environments-versions-and-flows/managing-virtual-environment-flow-deployments/deleting-a-process-flow-deployment-from-a-virtual-environment.md) first.

## The steps

{% stepper %}
{% step %}
**Access virtual environments**

[Log in to the dashboard](https://app.wearepatchworks.com/virtual-environments) and select `virtual environments` | `overview` from the left-hand navigation menu.
{% endstep %}

{% step %}
**Select the required virtual environment**

Click the ellipsis icon associated with the virtual environment that you want to delete - for example:

<div align="left"><figure><img src="/files/ehojXVO7PHkdq7ncW2vF" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Delete the selected virtual environment**

Select the `delete` option:

<figure><img src="/files/uHomP0kXJNrmiBvyYRxA" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Confirm this action**

When prompted, confirm that you want to proceed with the removal:

<div align="left"><figure><img src="/files/GKxCOoLTns9N0g5Ht1jA" alt="" width="375"><figcaption></figcaption></figure></div>

The virtual environment is removed immediately.
{% endstep %}
{% endstepper %}
