diff --git a/content/influxdb/cloud/reference/cli/influx/_index.md b/content/influxdb/cloud/reference/cli/influx/_index.md index cce966151..e818fe646 100644 --- a/content/influxdb/cloud/reference/cli/influx/_index.md +++ b/content/influxdb/cloud/reference/cli/influx/_index.md @@ -12,5 +12,106 @@ weight: 101 influxdb/cloud/tags: [cli] --- -{{< duplicate-oss >}} +The `influx` command line interface (CLI) includes commands to manage many aspects of InfluxDB, +including buckets, organizations, users, tasks, etc. +For information about setting up and configuring the `influx` CLI, see [Download, install, and use the influx CLI](/influxdb/cloud/sign-up/#optional-download-install-and-use-the-influx-cli). + +## Usage + +``` +influx [flags] +influx [command] +``` + +### Provide required authentication credentials +To avoid having to pass your InfluxDB **host**, **authentication token**, and **organization** +with each command, store them in an `influx` CLI configuration (config). +`influx` commands that require these credentials automatically retrieve these +credentials from the active config. + +Use the [`influx config create` command](/influxdb/cloud/reference/cli/influx/config/create/) +to create an `influx` CLI config and set it as active: + +```sh +influx config create --config-name \ + --host-url http://localhost:8086 \ + --org \ + --token }}. - {{< cloud-name "short" >}} instances are currently limited to a single organization. +- [Start for free](#start-for-free) +- [Sign up](#sign-up) +- [(Optional) Download, install, and use the influx CLI](#optional-download-install-and-use-the-influx-cli) +- [Sign in](#sign-in) +- [Get started working with data](#get-started-working-with-data) + ## Start for free Start using {{< cloud-name >}} at no cost with the [Free Plan](/influxdb/cloud/account-management/pricing-plans/#free-plan). diff --git a/content/influxdb/cloud/tools/clis.md b/content/influxdb/cloud/tools/clis.md index dd2921060..bba1dae2c 100644 --- a/content/influxdb/cloud/tools/clis.md +++ b/content/influxdb/cloud/tools/clis.md @@ -13,4 +13,6 @@ Use the `influx` CLI to interact with and manage data in your **InfluxDB** insta Write and query data, generate InfluxDB templates, export data, manage organizations and users, and more. -_For more information, see the [`influx` reference documentation](/influxdb/cloud/reference/cli/influx/)._ +_For information about setting up and configuring the `influx` CLI, see [Download, install, and use the influx CLI](/influxdb/cloud/sign-up/#optional-download-install-and-use-the-influx-cli)._ + +_For more information about using the `influx` CLI, see the [`influx` reference documentation](/influxdb/cloud/reference/cli/influx/)._