gcloud
Installation
SKILL.md
Google Cloud CLI (gcloud)
The gcloud CLI is part of the Google Cloud SDK. It manages authentication, local configuration, and developer workflows for GCP.
When to Use
- Google Cloud Platform Automation & Scripting: Managing GCP resources, clusters, IAM roles, and deployments via
gcloud. - GKE Cluster & Workload Management: Connecting kubectl credentials and managing GKE node pools.
- Cloud Run & Serverless Deployment: Building and deploying serverless containers with one CLI command.
- Filtering & Formatting GCP Assets: Extracting resource data using
--filterand--format.
Quick Start
# Initialize
gcloud init
# Authenticate for local code (ADC)
gcloud auth application-default login