# Overview

The KX Insights Command Line Interface is a tool used by administrators to manage their KX Insights system. It can be used to

# Installing the CLI

See the CLI installation guide

# Installing KX Insights

See the installation guide for full details on installing KX Insights. See the command line reference for a full list of install sub-commands.

## Value Precedence

Values may be specified from multiple sources at install time. It is possible to use a values.yaml file and values secret created at setup in combination. Upon executing the kxi install run command, the following places will be searched for a value, in order of precedence:

1. The provided command line parameter. See command line interface reference for options.
2. Values file
3. Values secret
4. The default value

# Options Precedence

CLI commands may be provided options from a varity of sources. They are read in the following order of precedence:

1. The provided command line parameter. See command line interface reference for options.
2. Value set in user's local cli-config file
3. User prompt (in an interactive session)
4. The default value

## Namespace Precenedence

Namespace option precedence has an extra check. They are read in the following order of precedence:

1. The provided command line parameter --namespace.
2. Namespace from user's active kube context
3. namespace value set in user's local cli-config file
4. User prompt (in an interactive session)
5. The default value