Getting started

Installation

Mypy requires Python 3.4 or later. Once you’ve installed Python 3, you can install mypy with:

$ python3 -m pip install mypy

Installing from source

To install mypy from source, clone the github repository and then run pip install locally:

$ git clone --recurse-submodules https://github.com/python/mypy.git
$ cd mypy
$ sudo python3 -m pip install --upgrade .