# Installer gallery-dl avec Homebrew, apk, chocolatey, apt, MacPorts, Nix, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gallery-dl pour les workflows d'agents IA.

## installation

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

## Réponse sur la sécurité des agents

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

- **Accès aux identifiants:** Reads cookies, config files, netrc credentials, and output paths.
- **Modification distante:** Primarily downloads, but can access authenticated services.
- **Risque de publication ou d'artéfact:** Can create local archives of private or copyrighted media.
- **Contrôle recommandé:** Gate cookie reads, authenticated downloads, and broad output paths.
- **Conseils d'utilisation par les agents:** Allow public metadata checks; require approval for private downloads and credential use.

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

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

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:gallery-dl
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/gallery-dl>
- **Version:** 1.32.9
- **Résumé source:** Command-line downloader for image-hosting site galleries and collections
- **Page d'accueil:** <https://codeberg.org/mikf/gallery-dl>
- **Docs amont:** <https://codeberg.org/mikf/gallery-dl>
- **Licence:** GPL-2.0-only
- **Archive source:** <https://files.pythonhosted.org/packages/b1/60/5131cd00162b86dbf3f4528d348eba2f97bc22e2b452855b23c51d5fe340/gallery_dl-1.32.9.tar.gz>
- **Dernière mise à jour:** 2026-08-02T12:24:34Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- gallery-dl (cli)
- gallery-dl (alias)

## Dépendances

- certifi
- cryptography
- libyaml
- python@3.14
- yt-dlp

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.32.9
- gestionnaire mis à jour: 2026-08-02
- données locales: OK
- dépôt amont: https://codeberg.org/mikf/gallery-dl
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <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>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour gallery-dl. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gallery-dl
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/fr/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [python@3.14](https://pkg.so/fr/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [yt-dlp](https://pkg.so/fr/brew/yt-dlp/) - Runtime dependency declared by Homebrew.
- [instaloader](https://pkg.so/fr/brew/instaloader/) - Shares pkgdb curated category or tags: cli, downloader, media, python.
- [gamdl](https://pkg.so/fr/brew/gamdl/) - Shares pkgdb curated category or tags: cli, downloader, media, python.
- [instalooter](https://pkg.so/fr/brew/instalooter/) - Shares pkgdb curated category or tags: cli, downloader, media, python.
- [svtplay-dl](https://pkg.so/fr/brew/svtplay-dl/) - Shares pkgdb curated category or tags: cli, media, python.
- [get_iplayer](https://pkg.so/fr/brew/get-iplayer/) - Shares pkgdb curated category or tags: cli, downloader, media.
- [you-get](https://pkg.so/fr/brew/you-get/) - Shares pkgdb curated category or tags: cli, downloader, media, python.
- [animdl](https://pkg.so/fr/brew/animdl/) - Shares pkgdb curated category or tags: cli, downloader, media, python.
- [podcast-archiver](https://pkg.so/fr/brew/podcast-archiver/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, libyaml, media, python.

## 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)


## Sources

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