This page documents an earlier version of InfluxDB. InfluxDB v2.6 is the latest stable version. View this page in the v2.6 documentation.
influx setup command walks through the initial InfluxDB OSS setup process,
creating a default user, organization, and bucket.
The Operator token created in the InfluxDB setup process has full read and write access to all organizations in the database.
influx setup [flags]
|Flag||Description||Data type||Maps to ?|
|CLI configuration to use for command||string|
|Primary bucket name||string|
|Path to ||string|
|Skip confirmation prompt|
|Help for the |
|HTTP address of InfluxDB (default ||string|
|Inspect communication with InfluxDB servers.||string|
|Primary organization name||string|
|Password for primary user||string|
|Duration bucket will retain data (0 is infinite, default is 0)||duration|
|Skip TLS certificate verification|
|Token for admin user (auto-generated by default)||string|
--retention units are nanoseconds (
ns), microseconds (
ms), seconds (
s), minutes (
m), hours (
h), days (
d), and weeks (
Start interactive InfluxDB setup
Set up InfluxDB with all required information and skip confirmation
influx setup \ --org example-org \ --bucket example-bucket \ --username example-user \ --password ExAmPl3PA55W0rD \ --force
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.