Important
You are viewing documentation for an older version of Confluent Platform. For the latest, click here.
Installing and Configuring the CLI¶
Important
The Confluent CLI is meant for development purposes only and is not suitable for a production environment. The data that are produced are transient and are intended to be temporary.
Installing the CLI¶
The Confluent CLI is included as a part of the Confluent Platform package. To install, download the Confluent Platform package.
Configuring the CLI¶
You must configure the CLI before using.
Set your PATH variable:
$ export PATH=<path-to-confluent>/bin:${PATH};
Install
jq
for your platform.Optional: Specify a custom location to store the CLI data and logs. By default the Confluent CLI stores its data and logs in your platform’s temporary directory.
Tip
You can check the current data and log location with the
confluent current
command.Create a directory:
$ mkdir <path-to-confluent>/var
Set the path to your directory:
$ export CONFLUENT_CURRENT=<path-to-confluent>/var