Install the gcloud CLI
As an alternative to the Google Cloud console, you can use the
Google Cloud CLI and the
manage your Cloud Bigtable instances from the command line.
To install the command-line interfaces:
If you've already installed the gcloud CLI, run the following command to make sure it's up to date:
gcloud components update
Install or update the
betacomponent of the gcloud CLI, along with the
gcloud components install beta cbt
Set a default project for the gcloud CLI, replacing
PROJECT_IDwith the project where your Bigtable instances are located:
gcloud config set project PROJECT_ID
You can now use the gcloud CLI and the
For the gcloud CLI, each command for working with
Bigtable begins with
gcloud bigtable or
gcloud beta bigtable.
To get help for each command, see the reference documentation
or beta reference documentation, or use the
gcloud CLI itself to get help:
gcloud bigtable clusters --help # help for all commands gcloud bigtable clusters create --help # help for the `create` command
, get help from the
reference documentation, or use the
cbt help # view a list of commands and help for all commands cbt help createtable # help for the `createtable` command
- Learn how to create a Bigtable instance.
- Find out how to view and update existing Bigtable instances.
- Learn how to delete a Bigtable instance.
- See other maintenance tasks you can perform with the