.. include:: ../references.txt .. _install-pip: Installation with pip ===================== To install the latest Gammapy **stable** version (see `Gammapy page on PyPI`_) using `pip`_: .. code-block:: bash $ python -m pip install gammapy To install the current Gammapy **development** version using `pip`_: .. code-block:: bash $ python -m pip install git+https://github.com/gammapy/gammapy.git#egg=gammapy Or like this, if you want to study or edit the code locally: .. code-block:: bash $ git clone https://github.com/gammapy/gammapy.git $ cd gammapy $ pip install . How to get set up for Gammapy development is described here: :ref:`dev_setup`