Send feedback
Installing Google Cloud CLI
Stay organized with collections
Save and categorize content based on your preferences.
This document shows how to install Google Cloud CLI before you install
Google Distributed Cloud.
To install Google Distributed Cloud, you need certain tools that are in
gcloud CLI. Use the following steps to install the
tooling, including upgrading your existing gcloud CLI installation.
To install gcloud CLI and related tooling:
Install gcloud CLI:
Install gcloud CLI but skip the gcloud init
command.
If you already have a version installed, run the following command to list
what components and versions you have:
gcloud components list
If you have the latest available version
and both the anthos-auth
and
kubectl
components are Installed
, you can stop here.
Retrieve the latest components and versions:
Run the following command to update gcloud CLI:
gcloud components update
To install the anthos-auth
and kubectl
components, run the following commands:
gcloud components install kubectl
gcloud components install anthos-auth
What's next
Create a Cloud project (quickstart) .
Create Google Cloud projects (full instructions) .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]