# youtubedr を Homebrew, Nix でインストール

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
