# Install onionsearch on Windows, macOS and Linux

Search several .onion search engines at once.

OnionSearch sends one query to several search engines for .onion sites, including Ahmia and Tor66, and writes the results to a CSV file. It connects through Tor, so a Tor proxy must be running on your machine.

> Upstream no longer maintains onionsearch. It may not work with current sites. The last release is from 2021. Needs a Tor SOCKS proxy on 127.0.0.1:9050.

## How to install onionsearch

```
ot install onionsearch
```

ot installs onionsearch 1.3 with uv into a Python environment of its own under `~/.ot`, so it cannot conflict with your system Python or with any other tool.

If you do not have ot yet:

macOS and Linux:

```
curl -fsSL https://otinstaller.com/install.sh | sh
```

Windows (PowerShell):

```
irm https://otinstaller.com/install.ps1 | iex
```

Current version: 0.3.0. Both scripts verify the download against its [SHA-256 checksum](https://otinstaller.com/releases/v0.3.0/checksums.txt) before installing.

## How to use onionsearch

Arguments after the tool's name go straight to onionsearch.

Search every supported engine.

```
ot run onionsearch "search phrase"
```

Use two engines and three pages of results each.

```
ot run onionsearch "search phrase" --engines ahmia tor66 --limit 3
```

`ot run onionsearch --help` lists every option.

An AI agent can run onionsearch too: `ot mcp` serves it over the Model Context Protocol. See [OSINT with AI agents](https://otinstaller.com/mcp/).

## onionsearch licence, platforms and versions

- Project: https://github.com/megadose/OnionSearch
- Licence: GPL-3.0
- Runs on: Windows, macOS and Linux
- Takes: query
- Categories: darkweb, search
- Sends traffic to the target: no
- Python package: onionsearch 1.3, in its own isolated environment

## Questions about onionsearch

### How do I install onionsearch on Windows?

Open PowerShell and install ot with `irm https://otinstaller.com/install.ps1 | iex`. Then run `ot install onionsearch`. ot fetches a pinned version of onionsearch and keeps it under `~/.ot`, apart from the rest of your system.

### Is onionsearch free?

Yes. onionsearch is open source, released under the GPL-3.0 licence. ot, which installs it, is free under the Apache 2.0 licence.

### Do I need to set up Python to use onionsearch?

No. ot installs onionsearch 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 onionsearch?

`ot update onionsearch` moves it to the version pinned in ot's registry, and `ot update onionsearch --latest` to the newest upstream release. `ot remove onionsearch` uninstalls it.

### Is onionsearch still maintained?

No. The last release is from 2021. Needs a Tor SOCKS proxy on 127.0.0.1:9050. ot still installs the last release, but expect some of its checks to fail on current sites.

## Tools related to onionsearch

- [censys](https://otinstaller.com/tools/censys/): Search Censys for hosts, certificates and subdomains.
- [shodan](https://otinstaller.com/tools/shodan/): Search Shodan for internet-connected devices, open ports and banners.
- [uncover](https://otinstaller.com/tools/uncover/): Query Shodan, Censys, FOFA and other search engines for exposed hosts.
