About Google Workspace CLI
One command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
One command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
One command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
What's Changed
| Publisher | Google LLC |
|---|---|
| Version | 0.22.5 |
| Release date | 2026-03-31 |
| License | Apache-2.0 |
| Installer type | zip |
| Architecture | x64 |
| Package ID | Google.WorkspaceCLI |
winget install --id=Google.WorkspaceCLI -ewinget upgrade --id=Google.WorkspaceCLI -ewinget uninstall --id=Google.WorkspaceCLI -eGoogle Workspace CLI adds this command to the command line: gws.
What's Changed
- 674d53a: Fix Lint Skills CI job by installing uv via astral-sh/setup-uv before running uvx
- c7c42f6: fix: register script service and resolve test path validation errors
- 80bd150: feat(auth): use strict OS keychain integration on macOS and Windows
Closes #623. The CLI no longer writes a fallback .encryption_key text file on macOS and Windows when securely storing credentials. Instead, it strictly uses the native OS keychain (Keychain Access on macOS, Credential Manager on Windows). If an old .encryption_key file is found during a successful keychain login, it will be automatically deleted for security.
Linux deployments continue to use a seamless file-based fallback by default to ensure maximum compatibility with headless continuous integration (CI) runners, Docker containers, and SSH environments without desktop DBUS services.
- ec7f56b: Sync generated skills with latest Google Discovery API specs
Patch Changes
Yes. Google Workspace CLI is free and open-source software released under the Apache-2.0 license.
The latest version is 0.22.5, released on Mar 31, 2026.
The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 407705d695dc83d48b1c5f50d71b5aa64095bf6f17d5b439b2e9a373bbe67ec2.
Google Workspace CLI runs on Windows and is available for 64-bit (x64) systems.
Open Settings › Apps › Installed apps, find Google Workspace CLI and select Uninstall. From the command line, run winget uninstall --id=Google.WorkspaceCLI -e.
Yes. Google Workspace CLI is available as a portable ZIP archive (google-workspace-cli-x86_64-pc-windows-msvc.zip, 64-bit (x64)) that runs without installation. Copy it to any folder or USB drive and run it from there.