Install the influxdb3 CLI for InfluxDB 3 Cloud

InfluxDB 3 Cloud is fully managed, so you don’t install or run an InfluxDB server. To administer your InfluxDB 3 Cloud instance and write and query data, install the influxdb3 CLI.

The influxdb3 CLI is distributed in the InfluxDB 3 Enterprise binary. Install the Enterprise binary using one of the following methods.

Quick install for Linux and macOS

To install the CLI on Linux or macOS, download and run the InfluxDB 3 Enterprise quick installer:

curl -O https://www.influxdata.com/d/install_influxdb3.sh \
&& sh install_influxdb3.sh enterprise

The installer also sets up a local InfluxDB 3 server. For InfluxDB 3 Cloud, you only need the CLI, so skip the prompts to start a server.

Download the CLI binary

Download an InfluxDB 3 Enterprise archive for your operating system. The archive includes the influxdb3 CLI.

Extract the archive and add the directory that contains the influxdb3 binary to your PATH.

Verify the installation

Run the following command to verify that the CLI is installed:

influxdb3 --version

If your shell can’t locate influxdb3 after a quick install, reload your shell configuration–for example:

source ~/.zshrc

To connect the CLI to your InfluxDB 3 Cloud instance, continue to set up InfluxDB 3 Cloud.


Was this page helpful?

Thank you for your feedback!