Installing the CQLSH tool

Install the standalone CQLSH tool using a binary tarball on any Linux-based platform.

Install the CQLSH standalone tool using a binary tarball on any Linux-based platform.

This command line shell remotely connects to a DataStax database cluster. The tool is not required to run locally on a cluster node.

Prerequisites

The cqlsh Python script that starts CQLSH requires Python 2.7.

Procedure

Important: 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-5.1.tar.gz

    The files are downloaded and extracted into the current directory.

What's next

Start CQLSH.