# gallery-dl を Homebrew, apk, chocolatey, apt, MacPorts, Nix, scoop, winget でインストール

gallery-dl のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:gallery-dl
```

## エージェント安全性の回答

gallery-dl downloads media and may use cookies or credentials for private sources.

- **認証情報アクセス:** Reads cookies, config files, netrc credentials, and output paths.
- **リモート変更:** Primarily downloads, but can access authenticated services.
- **公開/成果物リスク:** Can create local archives of private or copyrighted media.
- **推奨コントロール:** Gate cookie reads, authenticated downloads, and broad output paths.
- **エージェント利用ガイダンス:** Allow public metadata checks; require approval for private downloads and credential use.

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gallery-dl
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gallery-dl
```

  証拠: MacPorts ports tree: net/gallery-dl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gallery-dl
```

  証拠: Alpine Linux edge package indexes: gallery-dl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install gallery-dl
```

  証拠: Debian stable package indexes: gallery-dl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#gallery-dl
```

  証拠: nixpkgs package indexes: pkgs/by-name/ga/gallery-dl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Chocolatey (92%):

```sh
choco install gallery-dl
```

  証拠: Chocolatey community package catalog: gallery-dl from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','fusioninventory-agent'

- Scoop (92%):

```sh
scoop install main/gallery-dl
```

  証拠: Scoop official bucket manifest trees: bucket/gallery-dl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id mikf.gallery-dl -e
```

  証拠: Windows Package Manager source index: mikf.gallery-dl from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:gallery-dl
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.32.9
- **ソース概要:** Command-line downloader for image-hosting site galleries and collections
- **ホームページ:** <https://codeberg.org/mikf/gallery-dl>
- **最終更新:** 2026-08-02T12:24:34Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gallery-dl (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.32.9
## プロジェクトの歴史と使われ方

gallery-dl is a cross-platform command-line program for downloading image galleries and collections from many image-hosting and social sites. It is often treated as the image-gallery counterpart to video downloaders such as youtube-dl and yt-dlp.

### プロジェクトの歴史

The GitHub repository was created in October 2014 and long served as the project's primary development home. The current README states that active development has moved to Codeberg, and the Codeberg repository metadata records a March 2026 creation date.

Upstream documents GPL-2.0 licensing, Python 3.8+ support, a large extractor/configuration surface, and frequent release artifacts. GitHub release metadata shows versioned releases continuing into 2026.

### 採用の歴史

gallery-dl has unusually broad package-manager adoption for a niche downloader. Upstream documents PyPI, standalone Windows/Linux executables, Snap, Chocolatey, Scoop, Homebrew, MacPorts, Docker, Nix, and Home Manager installation paths, while the supplied package facts also list apk, Debian, Ubuntu, winget, and other package-manager names.

The migration to Codeberg is significant for packagers because repository URLs, release tarballs, and development snapshots shifted away from GitHub while documentation and historical references still point to GitHub-hosted material.

### 使われ方

Users run gallery-dl with one or more URLs and command-line options. It can also be configured through JSON-style configuration files, with optional YAML/TOML support, site-specific extractor settings, output formatting, cookies, credentials, API keys, and cache handling.

The README documents optional integrations with yt-dlp or youtube-dl for HLS/DASH video downloads, FFmpeg and mkvmerge for Pixiv Ugoira handling, and other optional dependencies for proxies, compression, keyrings, PostgreSQL archives, trust stores, and templates.

### パッケージ好きにとっての重要性

gallery-dl is package-nerd significant because it is a constantly changing web-scraper/downloader packaged across many ecosystems. Maintainers have to track fast upstream releases, optional dependency behavior, changing site extractors, default config locations, credential storage in config files, and the GitHub-to-Codeberg source migration.

### タイムライン

- 2014: GitHub repository created.
- 2020s: Upstream README documents installation through PyPI, standalone binaries, Snap, Chocolatey, Scoop, Homebrew, MacPorts, Docker, Nix, and Home Manager.
- 2026: Codeberg repository created and README states active development moved there.
- 2026: GitHub release metadata lists v1.32.5 published on June 30.

### Related projects

- yt-dlp and youtube-dl are optional integrations for HLS/DASH video downloads.
- FFmpeg and mkvmerge are optional helpers for Pixiv Ugoira conversion and timing.
- The project now spans Codeberg for active source development, GitHub for historical repository/docs references, and gdl-org.github.io for generated documentation.

### ソース

- <https://api.github.com/repos/mikf/gallery-dl>
- <https://api.github.com/repos/mikf/gallery-dl/releases?per_page=5>
- <https://codeberg.org/api/v1/repos/mikf/gallery-dl>
- <https://codeberg.org/mikf/gallery-dl>
- <https://github.com/mikf/gallery-dl>
- <https://raw.githubusercontent.com/mikf/gallery-dl/master/README.rst>
- <https://raw.githubusercontent.com/mikf/gallery-dl/master/docs/configuration.rst>
- <https://raw.githubusercontent.com/mikf/gallery-dl/master/docs/options.md>


## セキュリティノート

gallery-dl に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/gallery-dl.conf, ${XDG_CONFIG_HOME}/gallery-dl/config.json, ${HOME}/.config/gallery-dl/config.json, ${HOME}/.gallery-dl.conf

## Credential files

- Unix: /etc/gallery-dl.conf, ${XDG_CONFIG_HOME}/gallery-dl/config.json, ${HOME}/.config/gallery-dl/config.json, ${HOME}/.gallery-dl.conf
## 他のパッケージマネージャ記録

- Debian apt - gallery-dl - 1.29.7-1: normalized package name match | Debian stable package indexes: gallery-dl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command-line program to download image galleries | https://github.com/mikf/gallery-dl
- Nix - gallery-dl: normalized package name match | nixpkgs package indexes: pkgs/by-name/ga/gallery-dl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gallery-dl - 1.26.9-1: normalized package name match | Ubuntu 24.04 LTS package indexes: gallery-dl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command-line program to download image galleries | https://github.com/mikf/gallery-dl
- apk - gallery-dl - 1.32.9-r0: normalized package name match | Alpine Linux edge package indexes: gallery-dl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI tool to download image galleries | https://codeberg.org/mikf/gallery-dl
- apk - gallery-dl-bash-completion - 1.32.9-r0: normalized package name match | Alpine Linux edge package indexes: gallery-dl-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for gallery-dl | https://codeberg.org/mikf/gallery-dl
- apk - gallery-dl-doc - 1.32.9-r0: normalized package name match | Alpine Linux edge package indexes: gallery-dl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI tool to download image galleries (documentation) | https://codeberg.org/mikf/gallery-dl
- apk - gallery-dl-fish-completion - 1.32.9-r0: normalized package name match | Alpine Linux edge package indexes: gallery-dl-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for gallery-dl | https://codeberg.org/mikf/gallery-dl
- apk - gallery-dl-pyc - 1.32.9-r0: normalized package name match | Alpine Linux edge package indexes: gallery-dl-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for gallery-dl | https://codeberg.org/mikf/gallery-dl
- apk - gallery-dl-zsh-completion - 1.32.9-r0: normalized package name match | Alpine Linux edge package indexes: gallery-dl-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for gallery-dl | https://codeberg.org/mikf/gallery-dl
- MacPorts - gallery-dl: normalized package name match | MacPorts ports tree: net/gallery-dl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - gallery-dl: normalized package name match | Chocolatey community package catalog: gallery-dl from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','fusioninventory-agent'
- Scoop - main/gallery-dl: normalized package name match | Scoop official bucket manifest trees: bucket/gallery-dl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - mikf.gallery-dl: normalized package name match | Windows Package Manager source index: mikf.gallery-dl from https://cdn.winget.microsoft.com/cache/source.msix
- winget - mikf.gallery-dl.Nightly: normalized package name match | Windows Package Manager source index: mikf.gallery-dl.Nightly from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
