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 --version 3.12.2

The installer script defaults to an older version of the CLI. Use the --version option to install version 3.10.0 or later. InfluxDB 3 Cloud requires influxdb3 3.10.0 or later because influxdb3 auth login, which you use to authenticate, was introduced in 3.10.0.

When the installer prompts you, make the following choices:

  • At Select Installation Type, enter 2 (Simple Download). Don’t choose 1 (Docker Image), which pulls an image but doesn’t install the CLI on your host.
  • Skip the prompts to start a server. InfluxDB 3 Cloud is fully managed, so you only need the CLI.

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

Confirm that the version is 3.10.0 or later.

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!