# 使用 Homebrew, Nix 安装 youtubedr

查看 youtubedr 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:youtubedr
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install youtubedr
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#youtubedr
```

  证据: nixpkgs package indexes: pkgs/by-name/yo/youtubedr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:youtubedr
- **软件包管理器:** Homebrew
- **版本:** 2.10.6
- **来源摘要:** Download Youtube Video in Golang
- **主页:** <https://github.com/kkdai/youtube>
- **仓库:** <https://github.com/kkdai/youtube>
- **最后更新:** 2026-07-25T21:32:49+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- youtubedr (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.10.6
## 项目历史与用法

youtubedr is the command-line program from kkdai/youtube, a Go package for downloading YouTube videos. It is intentionally narrower than youtube-dl-style tools: the README points users to youtube-dl for broader download options.

### 项目历史

The public repository was created in December 2015 as a Go implementation for discovering and downloading YouTube streams. Its README documents both binary use through `youtubedr` and library use from Go programs, with examples for getting stream information and downloading by URL, video ID, quality, or itag.

The README also explains the scraper mechanics at a high level: parse the video ID, fetch video information, decode stream data, and download from the extracted URL. That makes the project useful as both a CLI and a learning/reference implementation for Go developers interested in YouTube download internals.

### 采用历史

Adoption appears modest compared with Python media downloaders, but meaningful inside the Go ecosystem. The module is documented on pkg.go.dev, packaged by Homebrew and Termux, and has several thousand GitHub stars according to metadata collected in July 2026.

### 使用方式

Users install the binary, then run `youtubedr info URL` to inspect available streams or `youtubedr download URL` to save a video. The README documents output naming, destination directories, quality selection, itag selection, and ffmpeg use for high-resolution combinations.

Go developers can import the package directly when they need YouTube stream discovery in their own programs, though the README explicitly frames the tool for CC0-licensed content and discourages illegal use.

### 为什么软件包爱好者会关心

youtubedr matters as a small Go-native counterpart to larger Python downloaders. It is packageable as a static-ish CLI, importable as a Go module, and a reminder that site-specific media downloaders are often both tools and living protocol notes.

### 时间线

- 2015-12-15: The public kkdai/youtube GitHub repository is created.
- Late 2010s: The project is documented as both a Go package and the `youtubedr` command.
- 2020s: Homebrew and Termux package the command for easier CLI installation.

### Related projects

- youtube-dl and yt-dlp are broader media downloaders referenced by the project for more download options.
- FFmpeg is needed for some high-resolution download combinations.
- iawia002/annie, later known as Lux, is listed among inspirations in the README.

### 来源

- <https://api.github.com/repos/kkdai/youtube>
- <https://formulae.brew.sh/formula/youtubedr>
- <https://github.com/kkdai/youtube>
- <https://pkg.go.dev/github.com/kkdai/youtube/v2>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Nix - youtubedr: normalized package name match | nixpkgs package indexes: pkgs/by-name/yo/youtubedr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/youtubedr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/youtubedr.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
