From 9d3572bdaeb71d864dd2ef2eaf52dd322dcebb28 Mon Sep 17 00:00:00 2001 From: Kelly Date: Fri, 28 Aug 2020 11:31:04 -0700 Subject: [PATCH] add edits f Russ --- content/influxdb/v2.0/get-started.md | 35 +++++++++++++++++++--------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/content/influxdb/v2.0/get-started.md b/content/influxdb/v2.0/get-started.md index a63cef29a..9e115c6b4 100644 --- a/content/influxdb/v2.0/get-started.md +++ b/content/influxdb/v2.0/get-started.md @@ -145,14 +145,23 @@ If you're running `influx` on macOS Catalina, you must [manually authorize the I To avoid having to pass your InfluxDB [authentication token](/v2.0/users/tokens/) with each `influx` command, set up a configuration profile that stores your credentials. -- In a terminal, run the following command: `influx config create -n default -u $INFLUX_URL -o $INFLUX_ORG -t $INFLUX_TOKEN -a`. - This configures a new profile named `default` and makes the profile active so your `influx` CLI commands run against this instance. +In a terminal, run the following command: + +```sh + # Set up a configuration profile + influx config create -n default \ + -u http://localhost:9999 \ + -o example-org \ + -t mySuP3rS3cr3tT0keN \ + -a + ``` - For more detail, see [influx config](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/). +This configures a new profile named `default` and makes the profile active so your `influx` CLI commands run against this instance. +For more detail, see [influx config](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/). #### Step 6: Learn `influx` CLI commands -To see all available `influx` commands, check out [influx - InfluxDB command line interface](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/). +To see all available `influx` commands, type `influx -h` or check out [influx - InfluxDB command line interface](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/). {{% /tab-content %}} @@ -525,14 +534,18 @@ You are ready to [write or collect data](/v2.0/write-data). If you set up InfluxDB through the UI and want to use the [`influx` CLI](/v2.0/reference/cli/influx), we recommend setting up a configuration profile. This lets you avoid having to pass your InfluxDB [authentication token](/v2.0/users/tokens/) with each `influx` command. Complete the following steps to set up a configuration profile that stores your credentials. 1. In a terminal, run the following command: - ```sh - influx config create -n default -u $INFLUX_URL -o $INFLUX_ORG -t $INFLUX_TOKEN -a - ``` - This configures a new profile named `default` and makes the profile active so your `influx` CLI commands run against this instance. + + ```sh + # Set up a configuration profile + influx config create -n default \ + -u http://localhost:9999 \ + -o example-org \ + -t mySuP3rS3cr3tT0keN \ + -a + ``` + This configures a new profile named `default` and makes the profile active so your `influx` CLI commands run against this instance. For more detail, see [influx config](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/). - For more detail, see [influx config](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/). - -2. Learn `influx` CLI commands. To see all available `influx` commands, check out [influx - InfluxDB command line interface](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/). +2. Learn `influx` CLI commands. To see all available `influx` commands, type `influx -h` or check out [influx - InfluxDB command line interface](https://v2.docs.influxdata.com/v2.0/reference/cli/influx/). {{% /tab-content %}}