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#
Using an environment#
In the environments list, select the environment name to activate it.
Click the arrow button beside the environment name to open the activation options dropdown.
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#
Activate the environment you want to clone by selecting it from the environments list.
At the bottom of the environments list, click Clone.
Enter a descriptive name for the new environment.
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.
At the bottom of the environments list, select Import.
In the Import Environment dialog, choose whether to import from your Local drive or from Anaconda Cloud.
Select the corresponding folder icon to choose the environment you want to import.
Enter a descriptive name for the new environment, or use the existing name. Each environment name must be unique.
Choose whether or not to overwrite an existing environment with your import.
Click Import.
Your newly imported environment will appear in the environments list.
Backing up an environment#
Backing up your environment to the cloud (Anaconda Cloud) protects it from hard drive failure and machine malfunctions, while local backups are valuable for rolling back conda to a previous state.
Warning
Don’t delete your environment backup when uninstalling and reinstalling Anaconda Distribution or Miniconda. If you do, you will not be able to import your existing environments into your new installation.
Activate the environment you want to back up by selecting it from the environments list.
At the bottom of the environments list, click Backup.
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.
- If you choose to back up locally:
Click Backup.
Enter a descriptive name for your environment’s YAML file.
Choose a place on your computer to save it.
Click Save.
- If you choose to back up to Anaconda Cloud:
Enter a descriptive name for the backup. By default, the environment name and current date is entered as the backup name.
Choose whether to overwrite an existing environment backup file on Anaconda Cloud. Each backup name must be unique.
Click Backup.
Removing an environment#
In Navigator
In the environments list, select the environment you want to remove.
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
In a browser, open Anaconda Cloud.
Sign in using your email address and password.
From your profile in the top-right corner, navigate to Subscriptions.
Select the Environments page.
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.