Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Ce document explique comment installer Google Cloud CLI avant d'installer Google Distributed Cloud.
Pour installer Google Distributed Cloud, vous avez besoin de certains outils qui se trouvent dans gcloud CLI. Suivez les étapes ci-dessous pour installer ces outils, y compris la mise à niveau de votre installation gcloud CLI existante.
Pour installer gcloud CLI et les outils associés, procédez comme suit :
Si une version est déjà installée, exécutez la commande suivante pour répertorier les composants et les versions dont vous disposez :
gcloud components list
Si vous disposez de la dernière version disponible (latest available version) et que les composants anthos-auth et kubectl sont tous les deux installés (Installed), vous pouvez vous arrêter ici.
Récupérez les derniers composants et versions :
Exécutez la commande suivante pour mettre à jour gcloud CLI :
gcloud components update
Pour installer les composants anthos-auth et kubectl, exécutez les commandes suivantes :
Effectuer l'installation si vous êtes derrière un proxy
Si vous êtes protégé par un pare-feu ou un proxy d'entreprise, il se peut que gcloud CLI ne puisse pas accéder à Internet avec ses paramètres par défaut.
Pour savoir comment installer gcloud CLI dans cette situation, consultez
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/01 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/01 (UTC)."],[],[],null,["This document shows how to install Google Cloud CLI before you install\nGoogle Distributed Cloud.\n\nTo install Google Distributed Cloud, you need certain tools that are in\ngcloud CLI. Use the following steps to install the\ntooling, including upgrading your existing gcloud CLI installation.\n\nTo install gcloud CLI and related tooling:\n\n1. Install gcloud CLI:\n\n - [Install gcloud CLI](/sdk/docs) but skip the `gcloud init` command.\n\n - If you already have a version installed, run the following command to list\n what components and versions you have:\n\n ```\n gcloud components list\n ```\n\n If you have the `latest available version` and both the `anthos-auth` and\n `kubectl` components are `Installed`, you can stop here.\n2. Retrieve the latest components and versions:\n\n 1. Run the following command to update gcloud CLI:\n\n ```\n gcloud components update\n ```\n 2. To install the `anthos-auth` and `kubectl`\n components, run the following commands:\n\n ```\n gcloud components install kubectl\n gcloud components install anthos-auth\n ```\n\nInstalling if you are behind a proxy\n\nIf you are behind a corporate proxy or firewall, the gcloud CLI might\nnot be able to access the internet with its default settings.\n\nFor information about how to install the gcloud CLI in this\nsituation, see\n\n[Configuring the gcloud CLI for use behind a proxy/firewall](/sdk/docs/proxy-settings).\n\nWhat's next\n\n[Create Google Cloud projects (full instructions)](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/multiple-gcp-projects)."]]