# 使用 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
- **版本:** 6.1.0
- **来源摘要:** Google Drive Public File Downloader when Curl/Wget Fails
- **主页:** <https://github.com/wkentaro/gdown>
- **仓库:** <https://github.com/wkentaro/gdown>
- **最后更新:** 2026-05-31T16:11:54Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gdown (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
