Install the cqlsh standalone tool
Install the Cassandra Query Language shell (cqlsh) standalone tool using a binary tarball on any Linux-based platform to use cqlsh remotely on a DataStax database cluster.
This command line shell connects remotely to a DataStax database cluster.
You do not need to run cqlsh locally on a cluster node.
Prerequisites
-
An IBMid.
-
If you are an existing IBM customer with an IBMid, you can continue to use your established account.
-
If you don’t have an IBMid, you can create one.
-
If your company uses Enterprise Federation (EF) for authentication with corporate credentials, see the EF documentation.
-
-
Python 2.7 or 3.6 through 3.11.
|
|
Procedure
-
Download the
cqlshbinary tarball file for DataStax Enterprise 6.8 from Fix Central:-
Sign in to Fix Central.
-
In the Product selector field, enter
IBM DataStax Enterprise. -
Select the DSE version you want to install from the Select from IBM DataStax Enterprise list.
-
Select All in the Platform list, and then click Continue.
-
On the Identify fixes page, click Continue to use the default Browse for fixes option.
-
Select the fixes (DSE version) you want to install, and then click Continue.
-
Review the terms and conditions, and then click I agree.
-
-
Click the
cqlshbinary tarball link to download the file, for example,cqlsh-6.8.60-bin.tar.gz. -
Change to the directory where you downloaded the
cqlshpackage:cd DOWNLOAD_DIRECTORYReplace
DOWNLOAD_DIRECTORYwith the path where you downloaded thecqlshpackage. -
Extract the files:
tar -xzvf cqlsh-VERSION-bin.tar.gzThe files are downloaded and extracted into the current directory.
Next steps
Connect to a cluster by starting the standalone cqlsh tool.