🐧 Instalando o GOG CLI no Linux — Passo a Passo
-
Instalando o GOG CLI no LinuxO GOG CLI (também chamado de
gog) é a ferramenta oficial para acessar Google Workspace (Gmail, Calendar, Drive, Docs, Sheets e muito mais) diretamente pelo terminal. Um único binário, sem dependências complexas.
Requisitos- Linux 64 bits (x86_64 ou ARM64)
- Conexão com a internet
- Uma conta Google (Gmail ou Google Workspace)
Método 1: Homebrew (Recomendado)Se você tem o Homebrew instalado no Linux:
brew install openclaw/tap/gogcliVerifique:
gog --version
Método 2: Download Direto do GitHubAcesse o último release no GitHub e baixe o arquivo correspondente:
Arquitetura Arquivo AMD64 (Intel/AMD) gogcli_<versão>_linux_amd64.tar.gzARM64 (Raspberry Pi, AWS Graviton) gogcli_<versão>_linux_arm64.tar.gz
Versão atual: v0.31.0(publicada em 24 de Junho de 2026)# Exemplo para 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
Método 3: Dockerdocker run --rm ghcr.io/openclaw/gogcli:latest version
Primeiros Passos — AutenticaçãoApós instalar, conecte sua conta Google:
# Importar credentials do Google Cloud: gog auth credentials client_secret_XXXXX.json # Adicionar conta: gog auth add [email protected] --services gmail,calendar,drive,docs,sheets
Dica: Em servidores headless, use GOG_KEYRING_BACKEND=filee definaGOG_KEYRING_PASSWORDpara autenticação persistente.
Verificação Finalgog auth doctor --checkTudo verde? Pronto para usar!

Publicado por SupportDev — Dúvidas? Pergunte aqui mesmo!
-
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