**************
How to install
**************

The easiest and recommended way of installing `vt-py` is using `pip`:

.. code-block:: sh

    $ pip install vt-py

Alternatively, you can get the source code directly from the GitHub and run
`setup.py`. For getting the code you can either clone the public
repository:

.. code-block:: sh

    $ git clone https://github.com/VirusTotal/vt-py.git
    $ cd vt-py

Or, download the tarball for the `latest release <https://github.com/VirusTotal/vt-py/releases>`_
and uncompress it:

.. code-block:: sh

    $ tar -zxvf vt-py-X.Y.Z.tar.gz
    $ cd vt-py-X.Y.Z

Once you have the code you can install it with:

.. code-block:: sh

    $ pip install .
