# gdrive を Homebrew, MacPorts, Nix, scoop でインストール

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

## インストール

```sh
sudo av install brew:gdrive
```

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

### macOS

- Homebrew (100%):

```sh
brew install gdrive
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gdrive
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gdrive
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/gdrive
```

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

## パッケージ情報

- **パッケージキー:** brew:gdrive
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.9.1
- **ソース概要:** Google Drive CLI Client
- **ホームページ:** <https://github.com/glotlabs/gdrive>
- **リポジトリ:** <https://github.com/glotlabs/gdrive>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gdrive (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

gdrive is a command-line Google Drive client from glotlabs, written as the successor to the older prasmussen/gdrive project and aimed at authenticated Drive account operations.

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

The glotlabs/gdrive repository was created in late 2022. Its README identifies the project as the successor of gdrive2, the archived prasmussen/gdrive repository, while noting that the new client initially implemented only the most basic functionality.

The project kept the familiar gdrive command name but restarted the implementation around a new account flow and documentation set. It requires users to create Google OAuth client credentials, then run gdrive account add to authorize access through a local callback server.

### 採用の歴史

The predecessor prasmussen/gdrive repository dates to 2013 and became a widely starred Google Drive CLI before archival. The glotlabs successor began publishing 3.x releases in 2023 and appears in Homebrew, MacPorts, Nix, and Scoop according to the input package-manager facts.

### 使われ方

Users configure Google API credentials, add an account with gdrive account add, and then use the CLI for Google Drive operations. The official README also documents exporting and importing account data for remote servers where browser access to localhost is awkward.

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

For package maintainers, this formula is significant because the old gdrive name did not simply disappear: it moved from a popular archived Go CLI to a successor project with a new credential directory, OAuth setup, and package-manager continuity under the same command-line identity.

### タイムライン

- 2013: prasmussen/gdrive repository created.
- 2022: glotlabs/gdrive successor repository created.
- 2023: 3.x release series published.
- 2024: v3.9.1 published.

### Related projects

- The closest related project is prasmussen/gdrive, called gdrive2 by the successor README. gdown and gdrive-downloader cover narrower public-file download workflows, while glotlabs/gdrive targets authenticated Drive client operations.

### ソース

- <https://github.com/glotlabs/gdrive>
- <https://github.com/glotlabs/gdrive#readme>
- <https://github.com/glotlabs/gdrive/releases>
- <https://github.com/glotlabs/gdrive/tree/main/docs>
- <https://github.com/prasmussen/gdrive>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


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


## Credential files

- Unix: ~/.config/gdrive3/
## 他のパッケージマネージャ記録

- Nix - gdrive: normalized package name match | nixpkgs package indexes: pkgs/by-name/gd/gdrive/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - gdrive: normalized package name match | MacPorts ports tree: net/gdrive/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/gdrive: normalized package name match | Scoop official bucket manifest trees: bucket/gdrive.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gdrive.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gdrive.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
