==========
Cheatsheet
==========

The conda cheatsheet contains the most important information about using conda, such as basic commands for creating and managing environments, installing packages, and importing and exporting environments.

See the :download:`conda cheatsheet <conda-cheatsheet.pdf>` PDF (3 MB) for a downloadable, single-page version.

**Versions**

..
    Maintainers! When updating the following list, please make sure to
    update the filesystem symlink "conda-cheatsheet.pdf" to the latest
    version as well, to keep the URL of the conda cheetsheet the same.
    Thank you!

- :download:`conda 24.4.0 <cheatsheets/conda-24.4.0.pdf>` (latest)

- :download:`conda 4.14.x <cheatsheets/conda-4.14.pdf>`

- :download:`conda 4.12.x <cheatsheets/conda-4.12.pdf>`

- :download:`conda 4.6.x <cheatsheets/conda-4.6.pdf>`

Quickstart
==========

.. tip::

   It is recommended to create a new environment for any new project or workflow.

.. csv-table::
    :widths: 42 58
    :header-rows: 0
    :file: cheatsheets/quickstart.csv

Channels and Packages
=====================

.. tip::

   Package dependencies and platform specifics are automatically resolved when using conda.

.. csv-table::
    :widths: 42 58
    :header-rows: 0
    :file: cheatsheets/channels-and-packages.csv

Working with Conda Environments
===============================

.. tip::

   List environments at the beginning of your session. Environments with an asterisk are active.

.. csv-table::
    :widths: 42 58
    :header-rows: 0
    :file: cheatsheets/working-with-environments.csv

Environment Management
======================

.. tip::

   Specifying the environment name confines conda commands to that environment.

.. csv-table::
    :widths: 42 58
    :header-rows: 0
    :file: cheatsheets/environment-management.csv

Exporting Environments
======================

.. tip::

   Name your export file after your environment to preserve your environment name.

.. csv-table::
    :widths: 42 58
    :header-rows: 0
    :file: cheatsheets/exporting-environments.csv

Importing Environments
======================

.. tip::

   When importing an environment, conda resolves platform and package specifics.

.. csv-table::
    :widths: 42 58
    :header-rows: 0
    :file: cheatsheets/importing-environments.csv

Additional Hints
================

.. csv-table::
    :widths: 42 58
    :header-rows: 0
    :file: cheatsheets/additional-hints.csv
