Install Python 3.6 or later, if you dont already have it.
$ pip3 install locust
Validate your installation. If this doesnt work, check the wiki for some possible solutions.
$ locust -V locust 2.2.4.dev11
Great! Now we’re ready to create our first test: Getting started
If you need the latest and greatest version of Locust and cannot wait for the next proper release, you can install a dev build like this:
$ pip3 install -U --pre locust
Dev builds are published every time a branch is merged into master.