# Install archivebox on macOS and Linux

Self-hosted web archive: save pages, media and metadata from URLs as evidence that outlives the source.

ArchiveBox keeps your own copy of the pages you give it: the HTML, a screenshot, a PDF, the media and the metadata, in a folder you control. A saved copy stays readable after the original is edited or taken down, which makes it a record you can cite.

## How to install archivebox

```
ot install archivebox
```

ot installs archivebox 0.9.77 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: Create an archive folder first: run "ot run archivebox init" inside an empty directory. Some extractors need Chrome, wget or yt-dlp.

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 archivebox

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

Turn the current, empty folder into an archive.

```
ot run archivebox init --setup
```

Save a page into the archive.

```
ot run archivebox add https://example.com
```

Browse the archive in a web browser.

```
ot run archivebox server 127.0.0.1:8000
```

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

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

## archivebox licence, platforms and versions

- Project: https://github.com/ArchiveBox/ArchiveBox
- Licence: MIT
- Runs on: macOS and Linux
- Takes: url
- Categories: archive, web, evidence
- Sends traffic to the target: no
- Python package: archivebox 0.9.77, in its own isolated environment

## Questions about archivebox

### Does archivebox run on Windows?

Not natively. archivebox has no Windows build, so ot installs it on macOS and Linux only. On Windows, install ot inside WSL and use archivebox from there.

### Is archivebox free?

Yes. archivebox is open source, released under the MIT licence. ot, which installs it, is free under the Apache 2.0 licence.

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

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

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

## Tools related to archivebox

- [gau](https://otinstaller.com/tools/gau/): Fetch known URLs for a domain from the Wayback Machine, Common Crawl and others.
- [httrack](https://otinstaller.com/tools/httrack/): Copy a website to disk for offline review and evidence.
- [cariddi](https://otinstaller.com/tools/cariddi/): Crawl a site for endpoints, secrets, API keys and interesting files.
- [gallery-dl](https://otinstaller.com/tools/gallery-dl/): Download image galleries and their metadata from social and hosting sites.
- [gobuster](https://otinstaller.com/tools/gobuster/): Brute-force DNS subdomains, virtual hosts, web paths and cloud buckets.
- [gowitness](https://otinstaller.com/tools/gowitness/): Screenshot websites in bulk with headless Chrome and browse the results.

More: [Websites](https://otinstaller.com/osint-tools/websites/).
