Jika Anda sudah menginstal gcloud CLI, jalankan perintah berikut untuk memastikannya sudah yang terbaru:
gcloud components update
Instal atau update komponen beta gcloud CLI, bersama dengan
cbt CLI
:
gcloud components install beta cbt
Tetapkan project default untuk gcloud CLI, dengan mengganti PROJECT_ID dengan project tempat instance Bigtable Anda berada:
gcloud config set project PROJECT_ID
Anda kini dapat menggunakan gcloud CLI dan cbt CLI untuk Bigtable.
Dapatkan bantuan
Untuk gcloud CLI, setiap perintah untuk menggunakan Bigtable dimulai dengan gcloud bigtable atau gcloud beta bigtable.
Untuk mendapatkan bantuan terkait setiap perintah, lihat dokumentasi referensi atau dokumentasi referensi versi beta, atau gunakan gcloud CLI itu sendiri untuk mendapatkan bantuan:
gcloudbigtableclusters--help# help for all commandsgcloudbigtableclusterscreate--help# help for the `create` command
Untuk
cbt CLI,
dapatkan bantuan dari
dokumentasi referensi, atau gunakan
cbt CLI
itu sendiri untuk
mendapatkan bantuan:
cbthelp# view a list of commands and help for all commandscbthelpcreatetable# help for the `createtable` command
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)."]]