Si gcloud CLI est déjà installé, exécutez la commande suivante pour vérifier qu'il est bien à jour :
gcloud components update
Installez ou mettez à jour le composant beta de gcloud CLI, ainsi que la CLI cbt :
gcloud components install beta cbt
Définissez un projet par défaut pour gcloud CLI, en remplaçant PROJECT_ID par le projet où se trouvent vos instances Bigtable:
gcloud config set project PROJECT_ID
Vous pouvez désormais utiliser gcloud CLI et la CLI cbt pour Bigtable.
Obtenir de l'aide
Dans le cas de gcloud CLI, chaque commande d'utilisation de Bigtable commence par gcloud bigtable ou gcloud beta bigtable.
Pour obtenir de l'aide sur chaque commande, consultez la documentation de référence ou la documentation de référence de la version bêta, ou utilisez directement gcloud CLI:
gcloudbigtableclusters--help# help for all commandsgcloudbigtableclusterscreate--help# help for the `create` command
Pour la CLI cbt, vous pouvez obtenir de l'aide en consultant la documentation de référence ou en utilisant directement la CLI cbt:
cbthelp# view a list of commands and help for all commandscbthelpcreatetable# help for the `createtable` command
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/04 (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/04 (UTC)."],[[["\u003cp\u003eThe gcloud CLI and cbt CLI can be used as command-line alternatives to the Google Cloud console for managing Bigtable instances.\u003c/p\u003e\n"],["\u003cp\u003eInstallation requires updating the gcloud CLI and installing the beta component along with the cbt CLI via the \u003ccode\u003egcloud components install beta cbt\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eSet a default project using \u003ccode\u003egcloud config set project PROJECT_ID\u003c/code\u003e for your Bigtable instances.\u003c/p\u003e\n"],["\u003cp\u003eYou can use \u003ccode\u003egcloud bigtable --help\u003c/code\u003e or \u003ccode\u003ecbt help\u003c/code\u003e to view a list of available commands and learn about specific commands.\u003c/p\u003e\n"]]],[],null,["Install the gcloud CLI\n\nAs an alternative to the [Google Cloud console](https://console.cloud.google.com/), you can use the\n[Google Cloud CLI](/sdk) and the [`cbt` CLI](/bigtable/docs/cbt-overview) to\nmanage your Bigtable instances from the command line.\n\nInstall\n\nTo install the command-line interfaces:\n\n1. [Install the gcloud CLI](/sdk/docs).\n\n If you've already installed the gcloud CLI, run the following\n command to make sure it's up to date: \n\n gcloud components update\n\n2. Install or update the `beta` component of the gcloud CLI, along\n with the\n `cbt` CLI\n :\n\n gcloud components install beta cbt\n\n3. Set a default project for the gcloud CLI, replacing\n `PROJECT_ID` with the project where your Bigtable instances\n are located:\n\n gcloud config set project PROJECT_ID\n\nYou can now use the gcloud CLI and the\n`cbt` CLI\nfor\nBigtable.\n\nGet help\n\nFor the gcloud CLI, each command for working with\nBigtable begins with `gcloud bigtable` or `gcloud beta bigtable`.\nTo get help for each command, see the [reference documentation](/sdk/gcloud/reference/bigtable)\nor [beta reference documentation](/sdk/gcloud/reference/beta/bigtable), or use the\ngcloud CLI itself to get help: \n\n gcloud bigtable clusters --help # help for all commands\n gcloud bigtable clusters create --help # help for the `create` command\n\nFor the\n`cbt` CLI\n, get help from the\n[reference documentation](/bigtable/docs/cbt-reference), or use the\n`cbt` CLI\nitself to\nget help: \n\n cbt help # view a list of commands and help for all commands\n cbt help createtable # help for the `createtable` command\n\nWhat's next\n\n- Learn how to [create a Bigtable instance](/bigtable/docs/creating-instance).\n- Find out how to [view and update existing Bigtable\n instances](/bigtable/docs/modifying-instance).\n- Learn how to [delete a Bigtable instance](/bigtable/docs/deleting-instance).\n- See [other maintenance tasks you can perform with the\n `cbt` CLI](/bigtable/docs/cbt-reference)."]]