# 使用 Homebrew, apt, MacPorts, Nix 安装 gdown

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

## 安装

```sh
sudo av install brew:gdown
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gdown
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gdown
```

  证据: MacPorts ports tree: net/gdown/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install gdown
```

  证据: Debian stable package indexes: gdown from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#gdown
```

  证据: nixpkgs package indexes: gdown from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## 软件包事实

- **软件包键:** brew:gdown
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gdown>
- **版本:** 6.1.0
- **来源摘要:** Google Drive Public File Downloader when Curl/Wget Fails
- **主页:** <https://github.com/wkentaro/gdown>
- **仓库:** <https://github.com/wkentaro/gdown>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/6a/b5/a45f62f20664031bf74a6aeb6f8d8cd5910e411bf90d756bd6b09bdc6c35/gdown-6.1.0.tar.gz>
- **最后更新:** 2026-05-31T16:11:54Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gdown (cli)
- gdown (别名)

## 依赖

- certifi
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 6.1.0
- 管理器更新时间: 2026-05-31
- 本地数据: OK
- 上游仓库: https://github.com/wkentaro/gdown
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

gdown is a Python command-line tool and library for downloading public Google Drive files and folders in cases where ordinary curl or wget downloads hit Google Drive confirmation pages, awkward share-link formats, or export flows.

### 项目历史

The official repository was created in 2015 under wkentaro/gdown and describes the project as a Google Drive public file and folder downloader. Its README positions it explicitly as a tool for the gap left by curl and wget on Google Drive URLs, later expanding to folder downloads, Google Docs/Sheets/Slides export formats, resumable transfers, cookies, proxies, and a Python API.

By the 5.x and 6.x release series, gdown had become both a CLI and a reusable Python package, with installation documented through pip and uv and with examples for direct file IDs, shared links, recursive folders, JSON listing, cached downloads, and arbitrary HTTP/HTTPS URLs.

### 采用历史

The repository's packaging metadata and README badges show distribution through PyPI, while the input package facts show availability through Homebrew, Debian, MacPorts, and Nix. The official GitHub repository also has several thousand stars, reflecting broad use beyond a single package manager.

### 使用方式

Common usage is to paste a Google Drive share URL or file ID into the gdown CLI, optionally adding output paths, resume mode, folder mode, export formats, or cookie support. Python users can call gdown.download, gdown.download_folder, or cached_download from scripts and data-processing workflows.

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

For package and data workflow users, gdown matters because it turns a web-app download flow into a scriptable artifact fetch. It is common in machine-learning examples, reproducible notebooks, CI scripts, and package recipes that need to pull large public Drive assets without teaching curl about Google's confirmation pages.

### 时间线

- 2015: Official GitHub repository created.
- 2024: v5.2.0 published in the 5.x release line.
- 2026: v6.0.0 and v6.1.0 published, continuing active maintenance.

### Related projects

- gdown is related to curl and wget as a specialized downloader for Google Drive URLs, and to other Google Drive CLI clients such as glotlabs/gdrive when OAuth-backed Drive management rather than public-file download is needed.

### 来源

- <https://github.com/wkentaro/gdown>
- <https://github.com/wkentaro/gdown#readme>
- <https://github.com/wkentaro/gdown/releases>


## 安全说明

没有找到 gdown 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gdown
- **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

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

- Debian apt - gdown - 5.2.0+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: gdown from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Google Drive public file downloader | https://github.com/wkentaro/gdown
- Nix - gdown: normalized package name match | nixpkgs package indexes: gdown from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- MacPorts - gdown: normalized package name match | MacPorts ports tree: net/gdown/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [gdrive-downloader](https://pkg.so/zh-hans/brew/gdrive-downloader/) - Shares pkgdb curated category or tags: cli, downloader, file-transfer, google-drive, networking.
- [magic-wormhole](https://pkg.so/zh-hans/brew/magic-wormhole/) - Shares pkgdb curated category or tags: cli, file-transfer, networking, python.
- [airshare](https://pkg.so/zh-hans/brew/airshare/) - Shares pkgdb curated category or tags: cli, file-transfer, networking, python.
- [ipget](https://pkg.so/zh-hans/brew/ipget/) - Shares pkgdb curated category or tags: cli, downloader, file-transfer, networking.
- [pferd](https://pkg.so/zh-hans/brew/pferd/) - Shares pkgdb curated category or tags: cli, downloader, networking, python.
- [speedtest-cli](https://pkg.so/zh-hans/brew/speedtest-cli/) - Shares pkgdb curated category or tags: cli, networking, python.
- [lftp](https://pkg.so/zh-hans/brew/lftp/) - Shares pkgdb curated category or tags: cli, file-transfer, networking.
- [croc](https://pkg.so/zh-hans/brew/croc/) - Shares pkgdb curated category or tags: cli, file-transfer, networking.

## Combined YAML source

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


## 来源

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