Automic VaultAutomic Vault

brew

Install googleworkspace-cli with Homebrew, MacPorts, pacman, Nix, winget

CLI for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Version 0.22.5 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install googleworkspace-cli

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install googleworkspace-cli

MacPorts ports tree · office/googleworkspace-cli/Portfile · source: api.github.com

Linux

Arch Linux pacmanverified · 92%
sudo pacman -S googleworkspace-cli

Arch Linux sync databases · googleworkspace-cli · source: geo.mirror.pkgbuild.com

Nixverified · 92%
nix profile install nixpkgs#gws

nixpkgs package indexes · pkgs/by-name/gw/gws/package.nix · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id Google.WorkspaceCLI -e

Windows Package Manager source index · Google.WorkspaceCLI · source: cdn.winget.microsoft.com

overview

Package summary

CLI for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more

Commands and aliases

  • gws

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2026: GitHub repository created under googleworkspace/cli.
  • 2026: 0.1.2 published on GitHub Releases in March.
  • 2026: 0.22.5 published on GitHub Releases in March after a rapid 0.x release series.
  • 2026: Homebrew formula and npm installation documented in the README.

Related projects

  • The README relates gws to Google Workspace APIs, Google's Discovery Service, Google Cloud OAuth setup, the gcloud CLI, Gemini CLI extensions, and repository-provided agent skills.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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 files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/gws/client_secret.json~/.config/gws/credentials.json$GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE

executables

Installed executables

CommandKindExposureNote
gwscliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.22.5
manager updated
local dataok
upstreamcurrent
latest detectedv0.22.5

https://github.com/googleworkspace/cli

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:googleworkspace-cli
Version0.22.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/googleworkspace-cli
Homepagehttps://developers.google.com/workspace
Repositoryhttps://github.com/googleworkspace/cli
Upstream docshttps://developers.google.com/workspace
LicenseApache-2.0
Source archivehttps://github.com/googleworkspace/cli/archive/refs/tags/v0.22.5.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegoogleworkspace-cli
Version Scheme0
Revision0
Conflicts With
  • gws
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

pacman95%

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-cli
  • License: Apache-2.0
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Googleworkspace Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: googleworkspace-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

googleworkspace-cli

sudo port install googleworkspace-cli
  • normalized package name match
  • Matched by: Googleworkspace Cli
MacPorts ports tree · api.github.com · MacPorts ports tree: office/googleworkspace-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
MacPorts94%

gws

sudo port install gws
  • installed executable or alias match
  • Matched by: Gws
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/gws/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

gws

nix profile install nixpkgs#gws
  • installed executable or alias match
  • Matched by: Gws
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gw/gws/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget92%

Google.WorkspaceCLI

winget install --id Google.WorkspaceCLI -e
  • installed executable or alias match
  • Matched by: Gws
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Google.WorkspaceCLI from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment