# Install yt-dlp on Windows, macOS and Linux

Download video, audio and metadata from thousands of sites for archiving.

yt-dlp downloads video and audio from thousands of sites, and can save the title, description, upload date, comments and subtitles alongside. Investigators use it to archive footage before it is removed.

## How to install yt-dlp

```
ot install yt-dlp
```

ot installs yt-dlp 2026.11.23 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 yt-dlp

Arguments after the tool's name go straight to yt-dlp.

Download a video in the best available quality.

```
ot run yt-dlp URL
```

Save only the metadata and comments.

```
ot run yt-dlp --skip-download --write-info-json --write-comments URL
```

Save only the audio.

```
ot run yt-dlp -x URL
```

`ot run yt-dlp --help` lists every option.

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

## yt-dlp licence, platforms and versions

- Project: https://github.com/yt-dlp/yt-dlp
- Licence: Unlicense
- Runs on: Windows, macOS and Linux
- Takes: url
- Categories: media, video, archive
- Sends traffic to the target: no
- Python package: yt-dlp 2026.11.23, in its own isolated environment

## Questions about yt-dlp

### How do I install yt-dlp on Windows?

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

### Is yt-dlp free?

Yes. yt-dlp is open source, released under the Unlicense licence. ot, which installs it, is free under the Apache 2.0 licence.

### Do I need to set up Python to use yt-dlp?

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

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

## Tools related to yt-dlp

- [gallery-dl](https://otinstaller.com/tools/gallery-dl/): Download image galleries and their metadata from social and hosting sites.
- [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.
- [instaloader](https://otinstaller.com/tools/instaloader/): Download Instagram profiles, posts, stories and metadata.
- [waybackpy](https://otinstaller.com/tools/waybackpy/): Query and save pages in the Internet Archive Wayback Machine.

More: [Social media](https://otinstaller.com/osint-tools/social-media/), [Files and media](https://otinstaller.com/osint-tools/files-and-media/).
