.. _cloud-environments:

=========================
Working with environments
=========================

To share an environment on Anaconda Cloud:

#. Save a `conda environment 
   <http://conda.pydata.org/docs/using/envs.html>`_ and upload
   it to Cloud::

       conda env export -n my-environment
       conda env upload my-environment

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

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

       http://envs.anaconda.org/<USERNAME>

   NOTE: Replace ``<USERNAME>`` with your username.

#. Anyone can download and install your environment from Cloud::

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

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