Environment Variables
The Hazelcast CLC recognizes the following environment variables.
Environment Variable | Description | Default |
---|---|---|
CLC_CLIENT_LABELS |
Sets the client labels. The labels must be separated by commas. This value is used in Cloud and Management Center. See Management Center documentation for more information. |
|
CLC_CLIENT_NAME |
Set a custom client name. The client name appears in the Cloud dashboard and in the cluster metrics of Management Center. |
|
CLC_HOME |
Overrides the CLC home directory. You can find out the current CLC home directory using clc home command. |
|
CLC_MAX_COLS |
Sets the maximum width of a column in a table output. This is useful when the width cannot be determined. |
Terminal width. |
CLC_SKIP_SERVER_VERSION_CHECK |
Some Hazelcast CLC features require the cluster to be of a certain version. If set to |
|
CLC_CLOUD_API_KEY |
Sets the Cloud API key. |
|
CLC_CLOUD_API_SECRET |
Sets the Cloud API secret. |
|
CLC_CONFIG |
Sets the configuration CLC will use if |
|
HZ_PHONE_HOME_ENABLED |
Enables phone home collection for CLC usage statistics. Set 'false' to disable phone homes. |
true |
The following environment variables are experimental and may be removed in a future version.
Environment Variable | Description | Default |
---|---|---|
CLC_EXPERIMENTAL_FORMATTER |
Sets a formatter for the highlighting of SQL syntax, either: |
|
CLC_EXPERIMENTAL_READLINE |
Sets the readline implementation, either |
|
CLC_EXPERIMENTAL_STYLER |
Sets a color theme for the highlighting of SQL syntax. See Chroma styles for the options. Only with the |
|
NO_COLOR |
Disables color output if set to |
|
CLC_SKIP_UPDATE_CHECK |
Disables checking new version of CLC. |
|