.. _cli-install: ================================== Installing and Configuring the CLI ================================== .. include:: ../includes/installation.rst :start-line: 34 :end-line: 37 Installing the CLI ------------------ The Confluent CLI is included as a part of the |CP| :ref:`package `. To install, download the |CP| package. Configuring the CLI ------------------- You must configure the CLI before using. #. Set your PATH variable: .. sourcecode:: bash $ export PATH=/bin:${PATH}; #. 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: .. sourcecode:: bash $ mkdir /var #. Set the path to your directory: .. sourcecode:: bash $ export CONFLUENT_CURRENT=/var