hardgcloud

Set which Google account is active in the current gcloud configuration

command

gcloud config set core/account ACCOUNT

also accepted

gcloud config set core/account

Command breakdown

Part of the Google Cloud CLI (gcloud) — Config & Init category.

gcloudconfigsetcore/accountACCOUNT

Test your recall — not just your reading.

Practice with interactive quiz →