Install Pylint

Installing Pylint is quite easy. Simply run the install command and it will install Pylint and all of the necessary dependencies.

Install Pylint on MacOS

Open a terminal program, and verify you have the necessary tools installed:

  • Type python --version. If it returns Python 3.x.x, type pip --version to verify you have pip installed.
  • If --version returns Python 2.x.x, type python3 --version to verify you have Python 3 installed. Then, type pip3 --version to verify you have it installed.

To install Pylint, run the following command:

  • pip3 install pylint
  • If python --version returned 3.x.x, run: pip install pylint

Install Pylint on Windows

Open the Command Prompt application. (You can search for "command" to find it.) Consider pinning it to the task bar as you'll be using it often!

Open Command Prompt, and verify you have the necessary tools installed:

  • Type python --version to verify you have 3.x.x installed. Then type pip --version to verify you have pip installed.
If you find you do not have Python installed, you can find various versions on the official Python.Org website at https://www.python.org/downloads/windows/

To install Pylint, run the following command:

  • pip install pylint

Now that you have Pylint installed, you'll want to know how to configure what it checks for. Let's take a look!

This guide was first published on Aug 23, 2019. It was last updated on Aug 23, 2019.
This page (Install Pylint) was last updated on Jul 03, 2020.