> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Environments

With Anaconda Desktop, you can create and manage conda environments to isolate your projects and dependencies using a graphical interface.

Beginner

Conda environments manage both the Python interpreter (The program that reads and runs Python code. Each conda environment can have its own Python version.) itself as well as packages from multiple programming languages. To learn more about conda environments, see [What is an environment?](https://anaconda.com/docs/getting-started/concepts/what-is-an-environment.md)

Anaconda Desktop also includes several pre-configured [quick start environments](#using-a-quick-start-environment) that come with curated packages for fields that rely on data analytics.

## Viewing environments

To view your environments, select  **Environments** from the left navigation.

The  **Environments** page displays your environments in a table. Select a column header to sort environments by name, number of packages, or when it was last updated.

Business or Custom plan only The **CVEs** column shows the number of active Common Vulnerabilities and Exposures (CVEs) detected in each environment. Hover over a CVE count to see a breakdown by severity: Critical, High, Medium, and Low.

> [!NOTE]
>
> CVE data is for reference only.

Select an environment's name to open the environment's details page. From the details page, you can view the environment's packages, dependencies, and channels. For more information on managing packages, see [Packages](https://anaconda.com/docs/anaconda-desktop/packages.md), and for more information on managing channels, see [Channels](https://anaconda.com/docs/anaconda-desktop/channels.md).

![Anaconda Desktop showing the details page for an environment](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-environments-details.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=31868551d05d219de012075c4f6eb993)

## Searching for an environment

Use the **Search** box to locate an environment by name. Enter all (or part of) an environment's name to filter the list to display only environments that contain the search string (A sequence of characters, like letters, numbers, and spaces, used to search for an item in a database.).

![Anaconda Desktop showing the search box for environments](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-environments-search.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=ea83b58bec22c1b9190b1f6bd144e1e0)

## Using a quick start environment

Anaconda Desktop provides a set of quick start environments that come pre-configured with curated packages for a variety of use cases.

To install a quick start environment using its default configuration, click  **Create** on the environment's card:

![Anaconda Desktop showing the create button for the anaconda-finance quick start environment card](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-environments-quick-start-create.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=cd8ed16ea5de9e261dc25cd83c4ae7c8)

To view details about the environment and make custom configurations, select anywhere on the environment's card to view its details page. From the details page, you can customize the environment's [configuration options](#environment-configuration-options). Use the  **Packages** button to add additional packages to the environment.

After you've configured the environment, click **Create Environment** to create the quick start environment:

![Anaconda Desktop showing the details page for the anaconda-finance quick start environment](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-environments-quick-start-details.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=199010ed20860c39ef67d0a847b1aab1)

## Creating an environment

To create a new environment, click  **Create** in the upper-right corner:

![Anaconda Desktop showing the create button in the upper-right corner of the environments page](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-environments-create.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=57ed853aec055f5393861da9085cede6)

In the **Create Environment** dialog, you can import an `environment.yml` file to create the environment, create a new environment manually, or select a [quick start environment](#using-a-quick-start-environment).

> [tab] Creating an environment manually
>
> 1. In the **Create Environment** dialog, click **Create Manually**.
> 2. Set [configuration options](#environment-configuration-options) for the environment.
> 3. Click **Create Environment** to create the environment.

> [tab] Importing an environment
>
> There are two situations in which you might want to import an environment:
>
> * Someone has [exported their environment](https://anaconda.com/docs/getting-started/working-with-conda/environments.md#sharing-an-environment) to a `environment.yml` file and shared it with you, and you want to reproduce their environment on your machine.
> * You have [exported an environment](#exporting-an-environment), and you want to restore it to the exported state.
>
> To create an environment from an imported `environment.yml` file:
>
> 1. In the **Create Environment** dialog, click **Import**.
>
> 2. Set [configuration options](#environment-configuration-options) for the environment.
>
>    > [!NOTE]
>    >
>    > Environment names must be unique.
>
> 3. Browse your local files and select the `.yaml` or `.yml` file you want to import.
>
> 4. Click **Create Environment** to create the environment.

### Environment configuration options

When you create a new environment, you can configure it with the following options:

![Desktop showing the environment configuration options](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-environments-configuration-details.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=c2f6e15ce2b490339bf3b461ac21d003)

Option

Description

Notes

**Location**

Choose where to create the environment. Select **Default** to use your default environment directory or **Custom** to specify a custom path.

Custom locations identify environments by path rather than name.

**Name**

Set a descriptive name for your environment to help identify its purpose.

Not used for custom location environments.

**Python version**

Select which version of Python to install in the environment.

Choose *Latest* to automatically use the latest compatible Python version.

**Packages**

Select packages to install with the **Search** box.

Additional packages can be installed after creation. See [Packages](https://anaconda.com/docs/anaconda-desktop/packages.md).

**Channels**

Configure which channels are accessible for the environment with the **Channels** button.

Channels determine where packages are downloaded from. See [Channels](https://anaconda.com/docs/anaconda-desktop/channels.md).

## Managing environments

> [!NOTE]
>
> You don't need to activate an environment to manage it in Anaconda Desktop.

### Opening an environment in an application

From an environment's details page, click **Open with...** to launch an application.

In the **Open with...** dialog, select an application:

* **notebook**: opens Jupyter Notebook
* **jupyterlab**: opens JupyterLab

Select **Set as default** to use the selected application as the default for future **Open with...** launches, then click **Open**.

### Cloning an environment

> [!WARNING]
>
> Attempting to clone the `base` environment can generate an incomplete environment, which can cause errors while using Desktop or conda. For these reasons, Anaconda Desktop does not allow you to clone your base environment.

To clone an environment:

1. Click the  **Actions** button in the environment's row and select  **Clone**.

   ![Anaconda Desktop showing the clone button in the actions dropdown for an environment](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-environments-clone.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=0b5f848d287fbf4eb7b94d14f985ce50)

2. Set the **Location** and **Name** for the new environment. See [configuration options](#environment-configuration-options) for more information.

   > [!NOTE]
   >
   > Environment names must be unique.

3. Click  **Clone** to create the new environment.

### Exporting an environment

When you export an environment, you create a `.yml` file that contains the environment's configuration. This file can be used as a back up for the environment, to recreate the environment on another machine, or to share the environment with other users.

To export an environment:

1. Click  **Actions** beside the environment, then select  **Export**.

   ![Anaconda Desktop showing the export button in the actions dropdown for an environment](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-environments-export.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=8af8b67a0699d69ea845db250d6e84bc)

2. Using your system's Save dialog, enter a file name for your exported environment and choose a download location.

3. **Save** the file.

The exported environment file is saved to the selected location.

### Frozen environments

Frozen environments are protected from modification and display a frozen beside their name in the environments list. Update and rename operations are disabled for frozen environments.

> [!NOTE]
>
> If you are using the [protected base installer](https://anaconda.com/docs/getting-started/protected-base-beta.md), your `base` environment is considered frozen. For more information on managing packages in your `base` environment, see [Managing your protected `base` environment](https://anaconda.com/docs/getting-started/protected-base-beta#managing-your-protected-base-environment).

![Anaconda Desktop environments list showing a frozen environment with a lock icon](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-frozen-env.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=d149212a939e95383d216cd640a1e650)

If you need a modifiable version of a frozen environment, [clone it](#cloning-an-environment) to create an unfrozen copy.

To modify a frozen environment directly, open Anaconda Prompt (A command-line application included with Windows installations of Anaconda Distribution and Miniconda. Find it by searching 'Anaconda Prompt' in the Windows Start menu.) (Terminal on macOS/Linux) and use the `--override-frozen-env` flag:

```sh theme={null}
conda install --override-frozen-env --name <ENV_NAME> <PACKAGE>
```

Comments

Replace `<ENV_NAME>` with the name of the frozen environment.\
Replace `<PACKAGE>` with the package(s) to install.

> [!WARNING]
>
> Overriding a frozen environment bypasses protections that might be in place for a reason. Proceed with caution.

For more information on frozen environments, see the official [conda documentation](https://docs.conda.io/projects/conda/en/stable/user-guide/tasks/manage-environments.html#freezing-or-locking-an-environment).

### Deleting an environment

To delete an environment:

1. Click  **Actions** beside the environment, then select  **Delete**.

   ![Anaconda Desktop showing the delete button in the actions dropdown for an environment](https://mintcdn.com/anaconda-29683c67/Aty9w0mqC-G2DD7s/images/anaconda-desktop/desktop-environments-delete.png?fit=max\&auto=format\&n=Aty9w0mqC-G2DD7s\&q=85\&s=9fe13e0bf457f76548ae6afeb24db5c9)

2. Click  **Delete** again to confirm you want to delete the environment.

The environment is deleted and removed from your environments list.
