==========================
Download our documentation
==========================

If you want to view our documentation locally or offline, Anaconda provides you with the ability to either download our documentation directly from our documentation site or install offline copies via the command line interface (CLI).

.. tab-set::

    .. tab-item:: Documentation 

        You can download a PDF or zipped HTML copy of `docs.anaconda.com <https://docs.anaconda.com>`_ by clicking |readthedocs| in the lower right corner of any page.

        .. note::

            The product documentation for `Package Security Manager (On-prem) <https://business-docs.anaconda.com/en/latest/>`_ and `Data Science & AI Workbench <https://enterprise-docs.anaconda.com/en/latest/>`_ is hosted in separate repositories from our main repository and is therefore not included in the download. Both sets of documentation can be downloaded from their respective sites.

        .. thumbnail:: /img/doc_download.png
           :align: center

    .. tab-item:: CLI

        You can install offline copies of `docs.anaconda.com <https://docs.anaconda.com>`_, `business-docs.anaconda.com <https://business-docs.anaconda.com>`_, and `enterprise-docs.anaconda.com <https://enterprise-docs.anaconda.com>`_ by installing the conda package ``anaconda-docs``::

            conda install anaconda-docs

        This will install a PDF copy and a zipped HTML copy of each site into the directory ``share/doc`` for your currently active conda environment. For example, if your conda install directory is ``~/miniconda3``, and your environment is named ``my-env``, the documentation will be installed into ``~/miniconda3/envs/my-env/share/doc/``.

        To update your locally installed documentation, run::

            conda update anaconda-docs

.. |readthedocs| raw:: html

    <svg xmlns="http://www.w3.org/2000/svg" 
         viewBox="694 197 346.69855 399.98477" 
         width="1.2em" height="1.2em">
      <g id="logo" 
         transform="matrix(0.55753644,0,0,0.55753644,66.531812,1050.1262)">
        <path
              d="m 1408.1,-1181.7 c -7.5,1 -12.7,7.8 -11.7,15.3 0.7,5.4 4.6,9.9 9.9,11.3 0,0 33.2,11 89.7,15.6 45.4,3.7 96.9,-3.2 96.9,-3.2 7.5,-0.2 13.5,-6.5 13.2,-14 -0.3,-7.5 -6.5,-13.5 -14,-13.2 -0.9,0 -1.8,0.1 -2.6,0.3 0,0 -50.4,6.2 -91.3,2.9 -54,-4.4 -83.4,-14.3 -83.4,-14.3 -2.2,-0.7 -4.5,-1 -6.7,-0.7 z m 0,-67.6 c -7.5,1 -12.7,7.8 -11.7,15.3 0.7,5.4 4.6,9.9 9.9,11.3 0,0 33.2,11 89.7,15.6 45.4,3.7 96.9,-3.2 96.9,-3.2 7.5,-0.2 13.5,-6.5 13.2,-14 -0.3,-7.5 -6.5,-13.5 -14,-13.2 -0.9,0 -1.8,0.1 -2.6,0.3 0,0 -50.4,6.2 -91.3,2.9 -54,-4.4 -83.4,-14.3 -83.4,-14.3 -2.2,-0.7 -4.5,-1 -6.7,-0.7 z m 0,-67.6 c -7.5,1 -12.7,7.8 -11.7,15.3 0.7,5.4 4.6,9.9 9.9,11.3 0,0 33.2,11 89.7,15.6 45.4,3.7 96.9,-3.2 96.9,-3.2 7.5,-0.2 13.5,-6.5 13.2,-14 -0.3,-7.5 -6.5,-13.5 -14,-13.2 -0.9,0 -1.8,0.1 -2.6,0.3 0,0 -50.4,6.2 -91.3,2.9 -54,-4.4 -83.4,-14.3 -83.4,-14.3 -2.2,-0.8 -4.5,-1 -6.7,-0.7 z m -94.7,-71.3 c -71,0.5 -97.5,22.3 -97.5,22.3 v 530.3 c 0,0 25.8,-22.3 109,-18.9 83.2,3.4 100.3,32.6 202.5,34.6 102.2,2.1 127.9,-15.7 127.9,-15.7 l 1.5,-540.6 c 0,0 -46,13 -135.5,13.7 -89.5,0.7 -111,-22.8 -193.2,-25.5 -5.1,-0.1 -10,-0.2 -14.7,-0.2 z m 59.4,34.6 c 0,0 43,14.2 122.5,18.2 67.2,3.3 134.5,-6.6 134.5,-6.6 V -929 c 0,0 -34.1,17.9 -119.3,11.8 -66,-4.7 -138.7,-29.7 -138.7,-29.7 z"/>
      </g>
    </svg>
