# Install torbot on Windows, macOS and Linux

Crawl .onion sites over Tor and map their links, emails and page details.

TorBot crawls .onion sites through the Tor network and reports the links, email addresses and page details it finds, as a table, a tree or JSON. It needs Tor running locally as a SOCKS proxy.

> torbot sends traffic to its target. Only use it on systems you own or have written permission to test.

## How to install torbot

```
ot install torbot
```

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

Before first use: Needs a Tor SOCKS proxy, by default on 127.0.0.1:9050.

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.5.0 ([changelog](https://otinstaller.com/changelog/)). Both scripts verify the download against its [SHA-256 checksum](https://otinstaller.com/releases/v0.5.0/checksums.txt) before installing.

## How to use torbot

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

Crawl two levels deep and print the link tree.

```
ot run torbot -u http://example.onion --depth 2 --visualize tree
```

Save the crawl as JSON.

```
ot run torbot -u http://example.onion --save json
```

Print basic details of one site.

```
ot run torbot -u http://example.onion --info
```

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

An AI agent can run torbot too: `ot mcp` serves it over the Model Context Protocol, once the server is started with `--allow-active`. See [OSINT with AI agents](https://otinstaller.com/mcp/).

## torbot licence, platforms and versions

- Project: https://github.com/DedSecInside/TorBot
- Licence: GPL-3.0
- Runs on: Windows, macOS and Linux
- Takes: url
- Categories: darkweb, crawler, tor
- Sends traffic to the target: yes
- Python package: torbot 4.4.0, in its own isolated environment

## Questions about torbot

### How do I install torbot on Windows?

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

### Is torbot free?

Yes. torbot 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 torbot?

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

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

### Do I need permission to use torbot?

Yes, for any system that is not your own. torbot sends traffic to its target, so use it only on systems you own or have written permission to test. ot shows this reminder before the first run, and its MCP server refuses torbot unless started with `--allow-active`.

## Tools related to torbot

- [cariddi](https://otinstaller.com/tools/cariddi/): Crawl a site for endpoints, secrets, API keys and interesting files.
- [katana](https://otinstaller.com/tools/katana/): Web crawler that maps the pages, endpoints and JavaScript files of a site.
- [onionsearch](https://otinstaller.com/tools/onionsearch/): Search several .onion search engines at once.
