Files
nexus/wiki/sources/GOG-CLI安装配置指南.md

1.3 KiB
Raw Blame History

title, type, tags, date
title type tags date
GOG CLI安装配置指南 source
gog
Google Workspace
CLI
macOS
2026-03-15

Source File

Summary

  • 核心主题macOS安装配置gog CLI管理Google Workspace
  • 问题域Gmail/Calendar/Drive/Contacts/Docs/Sheets命令行管理
  • 方法/机制Homebrew安装 → OAuth凭证配置 → API启用 → 代理访问
  • 结论/价值完整的gog CLI配置手册需要代理才能直连Google API

Key Claims

  • 安装brew install steipete/tap/gogcli
  • 凭证Google Cloud Console创建OAuth客户端ID下载credentials.json到~/Library/Application Support/gogcli/
  • 测试用户Google Cloud添加测试用户ishenwei@gmail.com避免"应用未经Google验证"错误
  • API启用Gmail API等需要在Google Cloud Console手动Enable
  • 代理必须设置HTTPS_PROXY=socks5h://127.0.0.1:10808
  • 默认账号export GOG_ACCOUNT=ishenwei@gmail.com

Key Concepts

Key Entities

  • gogGoogle Workspace CLI工具
  • GoogleGmail/Calendar/Drive等Google服务

Connections

Contradictions

  • 无冲突