> ## 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

An environment is a folder or directory that contains a specific collection of conda packages and their dependencies.

Working in separate environments allows you to maintain and run packages without interference from other collections of packages. For example, you may use one conda environment to maintain a Python 3.9 data science project with packages like pandas, numpy, and matplotlib, and use another environment for Python 3.11 web development projects with Django, PostgreSQL drivers, and REST framework libraries.

## Uploading an environment file

1. [Create your environment.yml file](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#create-env-file-manually).
2. Log in to your instance of Package Security Manager.
3. Open a channel from the **Dashboard** or from the **My Channels** page.
4. Open the <Icon icon="gear" iconType="regular" /> **Manage** dropdown menu and select *Upload File*.
5. Open the **Type** dropdown menu and select *Anaconda Environment*.
6. Click **Select files…** then locate and upload your environment file, or drag and drop the environment file into the field.
7. Click **Upload**.

## Downloading an environment file

1. From the channel details page, select the **Environments** tab.
2. Select an environment, then click on an environment file to download it.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/4qznYPKo21deuO4H/images/as_download_environment_3.png?fit=max&auto=format&n=4qznYPKo21deuO4H&q=85&s=541d1b4822dcf92e43e6790e2879242d" alt="" width="2958" height="1324" data-path="images/as_download_environment_3.png" />
</Frame>

## Viewing environment dependencies

1. From the channel details page, select the **Environments** tab.
2. Click on an environment, then select the **Dependencies** tab to view the packages your environment depends on.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/AzA0BFAhlbKpAtkn/images/as_view_environment_dependencies_3.png?fit=max&auto=format&n=AzA0BFAhlbKpAtkn&q=85&s=ef3f1f5a9f0c83c44c4383cc1fb6c97e" alt="" width="2948" height="1546" data-path="images/as_view_environment_dependencies_3.png" />
</Frame>

## Viewing environment metadata

1. From the channel details page, select the **Environments** tab.
2. Click on an environment.
3. Click <Icon icon="circle-info" iconType="regular" /> **View more information** beside the `.yml` file to view its metadata.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/abCdQ9kzAxRqPlhZ/images/as_environment_data_3.png?fit=max&auto=format&n=abCdQ9kzAxRqPlhZ&q=85&s=5db5fa6fedd11165f15ccf17027e17b6" alt="" width="2970" height="1310" data-path="images/as_environment_data_3.png" />
</Frame>

You will be presented with the environment’s metadata.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/abCdQ9kzAxRqPlhZ/images/as_environment_metadata.png?fit=max&auto=format&n=abCdQ9kzAxRqPlhZ&q=85&s=b57a5d462f57a5f972084b0965ef90e0" alt="" width="1664" height="774" data-path="images/as_environment_metadata.png" />
</Frame>

## Moving an environment file

To move an environment file from one channel or subchannel to another:

1. From the channel or subchannel details page, select the **Environments** tab.
2. Select the checkbox beside the environment file you want to move. File management buttons appear at the top of the list.
3. Click **Move # Environments**.
4. Open the **Move To:** dropdown menu and select a destination channel for your environment file.
5. Click **Move**.

<Note>
  Moving an environment file will remove it from its origin channel.
</Note>

## Copying an environment file

To copy an environment file from one channel or subchannel to another:

1. From the channel or subchannel details page, select the **Environments** tab.
2. Select the checkbox beside the environment file you want to copy. File management buttons appear at the top of the list.
3. Click **Copy # Environments**.
4. Open the **Copy To:** dropdown menu and select a destination channel for your environment file.
5. Click **Copy**.

<Note>
  Copying an environment file will not remove it from its origin channel.
</Note>

## Deleting an environment file

To delete an environment file from a channel or subchannel:

1. From the channel or subchannel details page, select the **Environments** tab.
2. Select the checkbox beside the environment file you want to copy. File management buttons appear at the top of the list.
3. Click **Delete # environments**.
4. Click **Delete** to verify you want to delete your selected environment file.
