gcloud
Google Cloud Platform command-line interface
TLDR
Initialize gcloud
SYNOPSIS
gcloud group [command] [options]
DESCRIPTION
gcloud is the Google Cloud Platform CLI for managing cloud resources. It provides commands for all GCP services including Compute Engine, Kubernetes Engine, Cloud SQL, and more.
The tool handles authentication, configuration, and resource management. Commands are organized by service groups with subcommands for specific operations.
gcloud enables infrastructure automation and management without the web console.
PARAMETERS
GROUP
Service group: compute, container, iam, sql, etc.auth
Authentication commands.config
Configuration management.compute
Compute Engine commands.container
Kubernetes Engine commands.projects
Project management.--project ID
Override project.--help
Display help information.
CONFIGURATION
~/.config/gcloud/configurations/config_default
Default configuration properties including project, region, zone, and account settings.~/.config/gcloud/credentials.db
Encrypted credentials database for authenticated accounts.~/.config/gcloud/properties
User-specific gcloud properties and preferences.
CAVEATS
Requires GCP account and project. Actions may incur costs. Some commands need specific permissions.
HISTORY
gcloud is part of the Google Cloud SDK, providing CLI access to Google Cloud Platform services. It's the primary tool for GCP administration and automation.
