.. _installation: Command line installation ------------------------- Pylint is installable using a package manager. Your package manager will find a version that works with your interpreter. We recommend ``pip``: .. code-block:: sh pip install pylint Or if you want to also check spelling with ``enchant`` (you might need to `install the enchant C library `_): .. code-block:: sh pip install pylint[spelling] The newest pylint supports all Python interpreters that are not past end of life. Pylint relies on the ``ast`` module provided by the Python interpreter that runs it, so that interpreter must be able to parse the syntax used by the code. Newer interpreters generally provide a more capable parser. However, for projects that support multiple Python versions, running Pylint on the oldest supported interpreter is usually the most reliable way to match the compatibility floor. If the lint environment uses a newer interpreter, set ``py-version`` to the oldest supported version for version-aware checks; it does not emulate the older interpreter. See :ref:`using pylint with multiple interpreters ` for more details. .. note:: You can also use ``conda`` or your system package manager on debian based OS. These package managers lag a little behind as they are maintained by a separate entity on a slower release cycle. .. code-block:: sh conda install pylint .. code-block:: sh sudo apt-get install pylint