macOS
brew install googleworkspace-clilocal Homebrew formula metadata
sudo port install googleworkspace-cliMacPorts ports tree · office/googleworkspace-cli/Portfile · source: api.github.com
brew
CLI for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Version 0.22.5 via Homebrew; verified from local package data.
install
brew install googleworkspace-clilocal Homebrew formula metadata
sudo port install googleworkspace-cliMacPorts ports tree · office/googleworkspace-cli/Portfile · source: api.github.com
sudo pacman -S googleworkspace-cliArch Linux sync databases · googleworkspace-cli · source: geo.mirror.pkgbuild.com
nix profile install nixpkgs#gwsnixpkgs package indexes · pkgs/by-name/gw/gws/package.nix · source: api.github.com
winget install --id Google.WorkspaceCLI -eWindows Package Manager source index · Google.WorkspaceCLI · source: cdn.winget.microsoft.com
overview
CLI for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more
history
Google Workspace CLI, invoked as `gws`, is a command-line tool for Google Workspace APIs such as Drive, Gmail, Calendar, Sheets, Docs, Chat, and Admin. Its README describes a dynamic command surface built from Google's Discovery Service, structured JSON output, and included agent skills.
The GitHub repository was created in March 2026 and began with rapid 0.x releases. The README explicitly says the project is not an officially supported Google product while placing it in the Google Workspace developer ecosystem.
The tool is written for both human CLI users and AI-agent workflows. Its installation paths include prebuilt GitHub release binaries, npm distribution as `@googleworkspace/cli`, source builds with Cargo, Nix, and Homebrew.
Because the project is young, its adoption history is mainly packaging and workflow positioning rather than a long ecosystem record. The official README documents Homebrew installation, npm installation, a Nix flake, Gemini CLI extension setup, and Skills installation from the repository.
Typical use starts with `gws auth setup` or `gws auth login`, then commands such as listing Drive files, creating Sheets resources, sending Chat messages, or inspecting generated schemas. The README documents OAuth credential files, exported credentials for headless use, pre-obtained access tokens, and environment-variable precedence.
For package nerds, gws is interesting because it packages a broad API family as a generated CLI rather than hand-written subcommands. It also reflects a 2026-era packaging pattern: one binary, npm bootstrap, Homebrew formula, Nix flake, structured JSON output, and agent skill bundles.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
~/.config/gws/client_secret.json~/.config/gws/credentials.json$GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILEexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gws | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/googleworkspace/cli
install metadata
| Package key | brew:googleworkspace-cli |
|---|---|
| Version | 0.22.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/googleworkspace-cli |
| Homepage | https://developers.google.com/workspace |
| Repository | https://github.com/googleworkspace/cli |
| Upstream docs | https://developers.google.com/workspace |
| License | Apache-2.0 |
| Source archive | https://github.com/googleworkspace/cli/archive/refs/tags/v0.22.5.tar.gz |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | googleworkspace-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
googleworkspace-cli 0.22.5-1
Command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more
https://developers.google.com/workspace
sudo pacman -S googleworkspace-cligoogleworkspace-cli
sudo port install googleworkspace-cligws
sudo port install gwsgws
nix profile install nixpkgs#gwsGoogle.WorkspaceCLI
winget install --id Google.WorkspaceCLI -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.