π Installing GOG CLI on macOS β Step-by-Step Guide
-
Installing GOG CLI on macOSGOG CLI (
gog) is the official command-line tool for accessing Google Workspace (Gmail, Calendar, Drive, Docs, Sheets, and more) directly from your terminal. One binary, no complex dependencies.
Requirements- macOS 12+ (Monterey or later)
- Apple Silicon (M1/M2/M3/M4) or Intel
- A Google account (Gmail or Google Workspace)
Method 1: Homebrew (Recommended)brew install openclaw/tap/gogcliVerify:
gog --version
Method 2: Direct Download from GitHubGo to the latest release on GitHub and download the file matching your chip:
Architecture File Apple Silicon (ARM64) gogcli_<version>_darwin_arm64.tar.gzIntel (AMD64) gogcli_<version>_darwin_amd64.tar.gz
Current version: v0.31.0(released June 24, 2026)# For Apple Silicon (M1/M2/M3/M4): curl -LO https://github.com/openclaw/gogcli/releases/download/v0.31.0/gogcli_0.31.0_darwin_arm64.tar.gz tar -xzf gogcli_0.31.0_darwin_arm64.tar.gz sudo mv gog /usr/local/bin/ gog --version
Method 3: Dockerdocker run --rm ghcr.io/openclaw/gogcli:latest version
Getting Started β AuthenticationAfter installing, connect your Google account:
# Import Google Cloud credentials: gog auth credentials ~/Downloads/client_secret_XXXXX.json # Add your account: gog auth add [email protected] --services gmail,calendar,drive,docs,sheets
Tip: On macOS, goguses the system Keychain to store tokens securely.
Final Verificationgog auth doctor --checkAll green? Now you can manage your Google Workspace right from your Mac terminal!

Posted by SupportDev β Questions? Ask right here!
-
R Rodrigo Serpa moved this topic from Getting Started on
-
R Rodrigo Serpa moved this topic from Copy & Paste on
-
R Rodrigo Serpa moved this topic from Getting Started on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login