Google Workspace CLI
One CLI for all of Google Workspace, built for humans and AI agents. Drive, Gmail, Calendar, and every Workspace API. Zero boilerplate. Structured JSON output. 40+ agent skills included. gws doesn't ship a static list of commands. It reads Google's own Discovery Service at runtime and builds its entire command surface dynamically. When Google Workspace adds an API endpoint or method, gws picks it up automatically. This project is under active development. Expect breaking changes as we march toward v1.0. Prerequisites Installation Quick Start Why gws? Authentication AI Agent Skills Advanced Usage Environment Variables Exit Codes Architecture Troubleshooting Development Node.js 18+, for npm install (or download a pre-built binary from GitHub Releases) A Google Cloud project, required for OAuth credentials. You can create one via the Google Cloud Console or with the gcloud CLI or with the gws auth setup command. A Google account with access to Google Workspace
View Google Workspace CLI on GitHub
One CLI for all of Google Workspace, built for humans and AI agents. Drive, Gmail, Calendar, and every Workspace API. Zero boilerplate. Structured JSON output. 40+ agent skills included.
gws doesn't ship a static list of commands. It reads Google's own Discovery Service at runtime and builds its entire command surface dynamically. When Google Workspace adds an API endpoint or method, gws picks it up automatically.
This project is under active development. Expect breaking changes as we march toward v1.0. Prerequisites Installation Quick Start Why gws? Authentication AI Agent Skills Advanced Usage Environment Variables Exit Codes Architecture Troubleshooting Development Node.js 18+, for npm install (or download a pre-built binary from GitHub Releases) A Google Cloud project, required for OAuth credentials. You can create one via the Google Cloud Console or with the gcloud CLI or with the gws auth setup command. A Google account with access to Google Workspace
Google Workspace CLI at a glance
| Stars | 31k |
|---|---|
| Forks | 1.9k |
| Language | Rust |
| License | Apache-2.0 |
| Last update | 2026-09-24 |
| Contributors | 43 |
How to install Google Workspace CLI
bash npm install -g @googleworkspace/cli
Where Google Workspace CLI is listed
Navid.me is reader-supported. When you buy through links on this site, I may earn an affiliate commission. Learn more.
GitHub repos like this
More repo topics
More free tools
Related MCP servers & CLIs
The most actionable AI newsletter for founders
Every week, get proven AI strategies, curated tools, and step-by-step systems to grow your audience, create better content, and build a profitable creator business.
No fluff, no filler, no BS. Just five minutes each week that might level up your online business and life.
P.S. Sign up now to get free access to my ultimate AI tools guide for creators.







































