Command-line tool
locust
brew/locust
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Scalable user load testing tool written in Python
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
pipx install locust
macOS
brew install locust pipx install locust
Linux
brew install locust pipx install locust
Load-test "example.com" with web interface using `locustfile.py`
locust -H http://example.com
Use a different test file
locust -H http://example.com -f test_file.py
Run test without web interface, spawning 1 user a second until there are 100 users
locust -H http://example.com --headless -u 100 -r 1
Related command-line tools
- cassowary
Modern cross-platform HTTP load-testing tool written in Go - k6
Modern load testing tool, using Go and JavaScript cross-platform cli foss performance open-source testing k6 load… - nuitka
Python compiler written in Python - rustpython
Python Interpreter written in Rust - ty
Extremely fast Python type checker, written in Rust python - jython
Python implementation written in Java (successor to JPython) - zuban
Python language server and type checker, written in Rust - propertree
Cross platform GUI plist editor written in python.
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents