The gcloud compute command-line tool enables you to easily manage your Google Compute Engine resources in a friendlier format than using the Compute Engine API.
The gcloud tool is part of the Cloud SDK and is a unified command-line tool that includes features like statement autocompletion, in-place updating, extensive man page style help, human-readable and machine-parsable output formats, and integration with Google Cloud SDK.
To install the latest version of gcloud compute, install the Google Cloud SDK.
For the setup refer to: https://cloud.google.com/compute/docs/gcloud-compute/
Hope this helps!
Enroll today to earn Google Cloud Certification.