Installing the CQLSH standalone tool

Install the 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 remotely connects to a DataStax database cluster. The tool is not required to run locally on a cluster node.


The cqlsh Python script that starts CQLSH requires Python 2.7+ or Python 3.6+. Both are supported for cqlsh.


DataStax CQLSH License Terms. By downloading this DataStax product, you agree to the terms of the EULA.

  1. On the DataStax Download page, click Tools > CQLSH.

  2. If you agree with the license terms, select the CQLSH Terms checkbox, choose a compatible version, and click Tarball to download the tool.

  3. Unpack the distribution:

    tar -xzvf cqlsh-6.8.tar.gz

    The files are downloaded and extracted into the current directory.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000,