The
cbt CLI
does not implement smart retries or error handling. When working in production
environment, use a Bigtable client library or the Google Cloud console.
If the
cbt CLI
is already installed, the terminal window displays the All components are up to date message.
Verify the installation
Run the following
cbt CLI
command to verify installation of the CLI:
cbt listinstances
The terminal window displays two columns named Instance Name and Info.
Create a .cbtrc file
You can store required options and parameters, such as -project, -instance, -creds, -admin-endpoint, or -data-endpoint options, in a single .cbtrc file for convenience.
In your .cbtrc file, configure cbt to use your project and instance by
replacing project-id with the ID for the project where you created
your Bigtable instance:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ecbt\u003c/code\u003e CLI is a command-line tool for interacting with Bigtable, built using Go and the Go client library for Bigtable.\u003c/p\u003e\n"],["\u003cp\u003eYou can install the \u003ccode\u003ecbt\u003c/code\u003e CLI as a component of the gcloud CLI by running \u003ccode\u003egcloud components install cbt\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecbt\u003c/code\u003e CLI does not include smart retries or advanced error handling, making client libraries or the Google Cloud console better for production environments.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a \u003ccode\u003e.cbtrc\u003c/code\u003e file to store frequently used options and parameters, such as project ID and instance name, for streamlined use of the \u003ccode\u003ecbt\u003c/code\u003e CLI.\u003c/p\u003e\n"],["\u003cp\u003eFor detailed information on usage and commands, the \u003ccode\u003ecbt\u003c/code\u003e CLI reference provides comprehensive documentation.\u003c/p\u003e\n"]]],[],null,[]]