I am trying to run the Cloud Bigtable Command Line Tool but seeing this error when I run
cbt help
or any other cbt commands:
-bash: cbt: command not found
I have verified that the gcloud component is installed when I run
gcloud components list
And I see:
Installed │ Cloud Bigtable Command Line Tool │ cbt │ 4.9 MiB
However, when I run
gcloud info
I see a list of my installed components and their version number in an array. For example:
Installed Components:
core: [2018.07.16]
pubsub-emulator: [2018.02.02]
beta: [2018.07.16]
gsutil: [4.33]
bq: [2.0.34]
cbt: []
bigtable: []
It might be a problem with the PATH not being set correctly, but I'm not sure. It seems related to this issue:
How to set path to kubectl when installed using gcloud components install?
Any ideas?
gcloud
such asgsutil
orbq
, and (c) whether your$PATH
includes the.../google-cloud-sdk/bin
(i.e., the installation directory ofgcloud
+/bin
)? – Printgloud info
, my installed components are: ``` Installed Components: core: [2018.07.16] pubsub-emulator: [2018.02.02] beta: [2018.07.16] gsutil: [4.33] bq: [2.0.34] cbt: [] bigtable: [] ...Cloud SDK on PATH: [False] Kubectl on PATH: [False] ``` Not sure how to check whether $PATH includes .../google-cloud-sdk/bin – Zeuxisecho $PATH
will tell you what's in your path and whether it includes the.../google-cloud-sdk/bin
directory. Also look into that directory and see ifcbt
is installed there. – Print