# gogcli を Homebrew, Nix, scoop, winget でインストール

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

## インストール

```sh
sudo av install brew:gogcli
```

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

### macOS

- Homebrew (100%):

```sh
brew install gogcli
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gogcli
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/gogcli
```

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

- winget (92%):

```sh
winget install --id steipete.gogcli -e
```

  証拠: Windows Package Manager source index: steipete.gogcli from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:gogcli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.34.2
- **ソース概要:** Google Suite CLI
- **ホームページ:** <https://gogcli.sh>
- **リポジトリ:** <https://github.com/openclaw/gogcli>
- **最終更新:** 2026-08-02T21:30:41Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gog (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

gogcli provides the gog command, a Go CLI for Google Workspace services. It is organized around task-first commands, automation-friendly output, and account-aware authentication.

The project is young compared with classic Go tools, but its official spec is unusually explicit about why it exists: to replace separate Google service CLIs with one coherent command surface.

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

Repository history starts in December 2025 with an initial commit and early work unifying Google CLI authentication, services, and CI. Official docs describe the command as one binary for Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Meet, Apps Script, Analytics, Search Console, Contacts, Tasks, Classroom, Chat, YouTube, and Workspace admin.

The spec states that gog replaces earlier separate CLIs named gmcli, gccli, and gdcli, plus a Python contacts server conceptually, without preserving legacy command names, flags, output formats, or state migration.

### 採用の歴史

The official README emphasizes script, CI, and agent use through stable JSON/plain output, non-interactive mode, read-only mode, Gmail send blocking, and generated command schemas. That positions gogcli for automation rather than only interactive account administration.

Package-manager facts in the input list Homebrew, Nix, Scoop, and winget entries. That spread fits a cross-platform personal and automation CLI where installation matters on macOS, Linux, and Windows workstations.

### 使われ方

The quickstart flow asks users to create a Google Cloud project, enable APIs, create a desktop OAuth client, store client credentials with gog auth credentials, authorize an account with gog auth add, and then run service commands such as gmail search or calendar events.

The spec documents config.json under the per-user config directory, OAuth client credential JSON files, refresh tokens in OS keyring storage, and an encrypted file keyring fallback for headless or container environments.

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

gogcli is notable because it treats a personal productivity CLI like infrastructure: parseable stdout, documented exit behavior, non-interactive safety, generated command references, and a typed MCP server instead of a generic shell bridge.

For package curators, it is also a good example of a CLI whose packaging story must include credentials and config locations. The binary is simple to install, but the operational state lives in platform config directories and keyrings.

### タイムライン

- 2025: Repository history begins with initial commits for a unified Google CLI.
- 2025: v0.1.0 release tag appears in December.
- 2026: Official docs describe task-first Google Workspace workflows, OAuth setup, generated command references, and a typed MCP server.
- 2026: Releases continue through frequent 0.x tags as service coverage and automation behavior expand.

### Related projects

- gmcli, gccli, and gdcli are named in the spec as separate CLIs that gog conceptually replaces.
- Google Workspace APIs are the service surface behind the command set.
- MCP is related through gog mcp, a typed server intended for agent clients.

### ソース

- <https://github.com/steipete/gogcli>
- <https://gogcli.sh/>
- <https://gogcli.sh/quickstart.html>
- <https://gogcli.sh/spec.html>


## セキュリティノート

gogcli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ 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: $(os.UserConfigDir())/gogcli/config.json

## Credential files

- Unix: $(os.UserConfigDir())/gogcli/credentials.json, $(os.UserConfigDir())/gogcli/credentials-<client>.json, $(os.UserConfigDir())/gogcli/keyring/
## 他のパッケージマネージャ記録

- Nix - gogcli: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/gogcli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/gogcli: normalized package name match | Scoop official bucket manifest trees: bucket/gogcli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - steipete.gogcli: normalized package name match | Windows Package Manager source index: steipete.gogcli from https://cdn.winget.microsoft.com/cache/source.msix
- winget - GOG.Galaxy: installed executable or alias match | Windows Package Manager source index: GOG.Galaxy from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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