Anaconda Enterprise: Documentation

# Working with environments

To share an environment on Anaconda Cloud:

1. See the conda user guide to create and save a conda environment. Open the Terminal or an Anaconda Prompt and enter:

       conda env export -n my-environment -f my-environment.yml

   NOTE: Replace `my-environment` with the actual name of your environment.

2. Upload it to Cloud either using the web interface or the `conda env upload` command.

   - Using the web interface:

     Go to `https://anaconda.org/USERNAME/environments`.

     NOTE: Replace `USERNAME` with your username.

     In the top right corner use the Upload button to upload your environment.

   - Using the `conda env upload` command from the Terminal or an Anaconda Prompt:

         conda env upload -f my-environment.yml

     NOTE: Replace `my-environment` with the actual name of your environment.

3. You can see a list of your uploaded environments at:

       http://envs.anaconda.org/USERNAME

   NOTE: Replace `USERNAME` with your username.

4. Anyone can download and install your environment from Cloud.

   - Using the web interface:

     Go to `https://anaconda.org/USERNAME/environments`.

     NOTE: Replace `USERNAME` with the username.

     Select the environment, go to Files tab and click the file to download under Names field.

   - Using the Terminal or an Anaconda Prompt:

         conda env create user/my-environment
         source activate my-environment

     NOTE: Replace `my-environment` with the actual name of your environment.