OSINT tool
Install theharvester on Windows, macOS and Linux
Collect emails, subdomains, hosts and employee names for a domain from public sources.
ot install theharvestertheHarvester collects what public sources reveal about an organisation's domain: email addresses, subdomains, hosts and employee names. It queries search engines and certificate logs, and reaches more sources when given API keys.
How to install theharvester
ot install theharvesterot installs theharvester 4.11.1 with uv into a Python environment of its own under ~/.ot, so it cannot conflict with your system Python or with any other tool.
New to ot? It is one command to install, shown below.
How to use theharvester
Arguments after the tool's name go straight to theharvester, so its own documentation applies unchanged.
Search two sources that need no API key.
ot run theharvester -d example.com -b crtsh,duckduckgoUse three sources, allow 200 results each, and save the report as XML and JSON.
ot run theharvester -d example.com -b crtsh,rapiddns,hackertarget -l 200 -f reportot run theharvester --help lists every option. The project's own documentation is at github.com/laramies/theHarvester.
An AI agent can run theharvester too: ot mcp serves it over the Model Context Protocol. See OSINT with AI agents.
Run theharvester with other tools
ot scan domain example.com runs theharvester together with subfinder and merges what they find into one table, listing each finding once.
theharvester licence, platforms and versions
| Project | https://github.com/laramies/theHarvester |
| Licence | GPL-2.0 |
| Runs on | Windows, macOS and Linux |
| Takes | domain |
| Sends traffic to the target | No |
| Python package | theharvester 4.11.1, in its own isolated environment |
Questions about theharvester
How do I install theharvester on Windows?
Open PowerShell and install ot with irm https://otinstaller.com/install.ps1 | iex. Then run ot install theharvester. ot fetches a pinned version of theharvester and keeps it under ~/.ot, apart from the rest of your system.
Is theharvester free?
Yes. theharvester is open source, released under the GPL-2.0 licence. ot, which installs it, is free under the Apache 2.0 licence.
Do I need to set up Python to use theharvester?
No. ot installs theharvester with uv into a virtual environment of its own, separate from your system Python. If uv is not installed, ot fetches its own copy first.
How do I update or remove theharvester?
ot update theharvester moves it to the version pinned in ot's registry, and ot update theharvester --latest to the newest upstream release. ot remove theharvester uninstalls it.
Install ot
curl -fsSL https://otinstaller.com/install.sh | shirm https://otinstaller.com/install.ps1 | iexRun it in PowerShell.
Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.
Tools related to theharvester
More: Email OSINT tools: see what an address is tied to, Subdomain enumeration and DNS tools