GCP – Google Cloud CLI

Step-1: Install Google Cloud CLI

https://docs.cloud.google.com/sdk/docs/install-sdk

Step-2: Initialize And Authorize The gcloud CLI

Step-3: Run Core Commands

Step-4: Check All Available Projects

gcloud projects list

Step-5: Switch Projects In ‘gcloud’

gcloud config set project sidekick-people-dev

Step-5: Resolving Error

Reset Application Default Credentials (important)

gcloud auth application-default revoke
gcloud auth application-default login

Set Project To New Project:

gcloud init

Leave a Reply

Your email address will not be published. Required fields are marked *