gcloud-cli

Installation
SKILL.md

Google Cloud CLI Skill

Installation

The skill invokes the gcloud CLI. Install and initialize:

  • Linux/macOS: curl https://sdk.cloud.google.com | bash then restart shell and run gcloud init
  • Windows: Download Google Cloud SDK installer or use PowerShell to download and run

Verify: gcloud --version. Configure: gcloud init

Cheat Sheet & Best Practices

Config: gcloud config set project <id>; gcloud config list; gcloud config configurations create/activate <name> — switch projects.

Auth: gcloud auth login; use --impersonate-service-account for SA; --access-token-file for CI.

Hacks: Use --format="table(name,zone,status)" or --format=json + jq to cut output. Use --flags-file=file.yaml for long or repeated flags. Use named configurations for dev/staging/prod. Run gcloud components update periodically.

Related skills
Installs
966
GitHub Stars
27
First Seen
Jan 27, 2026