π§ Installing GOG CLI on Linux β Step-by-Step Guide
-
Installing GOG CLI on LinuxGOG 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- Linux 64-bit (x86_64 or ARM64)
- Internet connection
- A Google account (Gmail or Google Workspace)
Method 1: Homebrew (Recommended)If you have Homebrew installed on Linux:
brew install openclaw/tap/gogcliVerify:
gog --version
Method 2: Direct Download from GitHubGo to the latest release on GitHub and download the matching file:
Architecture File AMD64 (Intel/AMD) gogcli_<version>_linux_amd64.tar.gzARM64 (Raspberry Pi, AWS Graviton) gogcli_<version>_linux_arm64.tar.gz
Current version: v0.31.0(released June 24, 2026)# Example for AMD64: cd /tmp curl -LO https://github.com/openclaw/gogcli/releases/download/v0.31.0/gogcli_0.31.0_linux_amd64.tar.gz tar -xzf gogcli_0.31.0_linux_amd64.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 client_secret_XXXXX.json # Add your account: gog auth add [email protected] --services gmail,calendar,drive,docs,sheets
Tip: On headless servers, use GOG_KEYRING_BACKEND=filewith aGOG_KEYRING_PASSWORDfor persistent authentication.
Final Verificationgog auth doctor --checkAll green? You're ready to go!

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