Documentation

influx completion

The influx completion command outputs influx shell completion scripts for a specified shell (bash or zsh).

Usage

influx completion [bash|zsh] [flags]

Flags

FlagDescription
-h--helpHelp for the completion command

Install completion scripts

Add the appropriate installation command below to your .bashrc or .zshrc.

# macOS
$ source $(brew --prefix)/etc/bash_completion
$ source <(influx completion bash)

# Ubuntu
$ source /etc/bash-completion
$ source <(influx completion bash)
# macOS
$ source <(influx completion zsh)

# Ubuntu
$ source <(influx completion zsh)

New! Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: