Managing environments#

On the Environments page, the left column displays your environments. At the bottom of the environments list are the Create, Clone, Import, Backup, and Remove buttons.

Searching for an environment#

In the Search Environments box, enter all or part of an environment name to filter the environment list.

Creating a new environment#

  1. At the bottom of the environments list, select Create.

  2. In the Create new environment dialog, enter a descriptive name for the new environment.

  3. Select Python or R to set the package type for your environment.

  4. Select a version for your Python or R installation.

  5. Click Create.

Using an environment#

  1. In the environments list, select the environment name to activate it.

  2. Click the arrow button next to the environment name to open the activation options dropdown.

  3. Select one of the following options for opening the environment: Terminal, Python interpreter, IPython Console, or Jupyter Notebook.

    Note

    Some of these options may not be available if they were not installed in the environment.

Cloning an environment#

  1. Activate the environment you want to clone by selecting it from the environments list.

  2. At the bottom of the environments list, click Clone.

  3. Enter a descriptive name for the new environment.

  4. Click Clone.

Importing an environment#

Each environment has a YAML-formatted configuration file. If someone has given you an environment file that you want to use—for example my-environment-file.yml—and you have saved it to your computer, you can import it into Navigator. Furthermore, if you have backed up an environment either locally or to Anaconda Cloud, you can import it onto your local computer with Navigator.

  1. At the bottom of the environments list, select Import.

  2. In the Import Environment dialog, choose whether to import from your Local drive or from Anaconda Cloud.

  3. Select the corresponding folder icon to choose the environment you want to import.

  4. Enter a descriptive name for the new environment, or use the existing name. Each environment name must be unique.

  5. Choose whether or not to overwrite an existing environment with your import.

  6. Click Import.

Your newly imported environment will appear in the environments list.

Backing up an environment#

Warning

Don’t delete your environment backup when removing and reinstalling Anaconda. If you do, you will not be able to import your existing environments into your new installation.

  1. Activate the environment you want to back up by selecting it from the environments list.

  2. At the bottom of the environments list, click Backup.

  3. In the Backup Environment dialog, select either Local drive or Anaconda Cloud as the backup location. You need to have an Anaconda Cloud account to back up your environment to Anaconda Cloud.

    Note

    By backing up to the cloud (Anaconda Cloud), your environment is safe from hard drive failure and malfunctions with your machine.

    Backing up locally can be useful for rolling back conda to an earlier state feature.

  4. If you choose to back up locally:
    1. Click Backup.

    2. Enter a descriptive name for your environment’s YAML file.

    3. Choose a place on your computer to save it.

    4. Click Save.

  5. If you choose to back up to Anaconda Cloud:
    1. Enter a descriptive name for the backup. By default, the environment name and current date is entered as the backup name.

    2. Choose whether to overwrite an existing environment backup file on Anaconda Cloud. Each backup name must be unique.

    3. Click Backup.

Removing an environment#

In Navigator

  1. In the environments list, select the environment you want to remove.

  2. At the bottom of the list, click Remove.

Note

Removing an environment in Navigator only removes your local copy. It will not remove or delete environments you have backed up to Anaconda Cloud.

In Anaconda Cloud

  1. In a browser, open Anaconda Cloud.

  2. Sign in using your email address and password.

  3. From your profile in the top-right corner, navigate to Subscriptions.

  4. Select the Environments page.

  5. Select Delete in the row associated with the environment you wish to remove.

Note

Removing an environment in Anaconda Cloud only removes it from Anaconda Cloud. It does not affect any local copies.

Advanced environment management#

Navigator provides a convenient graphical interface for managing conda environments, channels, and packages. If you’re comfortable working with Anaconda prompt (or terminal on Linux or macOS), you can access additional, advanced management features. To learn more, see Managing environments in the conda documentation.