cbt Overview

The cbt tool is a command-line interface for performing several different operations on Cloud Bigtable. It is written in Go using the Go client library for Cloud Bigtable. Source code for the cbt tool is available in the GitHub repository GoogleCloudPlatform/google-cloud-go. This repository is a mirror of code.googlesource.com/gocloud.

Installing the cbt tool

The cbt tool is available as a Cloud SDK component. To install the cbt tool, install the Cloud SDK, then run the following commands:

gcloud components update
gcloud components install cbt

If you have the latest stable release of the go tool installed, you can also install the cbt tool using the standard go tool:

go get -u cloud.google.com/go/bigtable/cmd/cbt

Run a simple cbt command to verify installation of the tool:

cbt listinstances

The terminal window displays two columns named Instance Name and Info.

Using the cbt tool

For details about using the cbt tool, including a list of available commands, see the cbt reference.