Skip to main content
Version: v1.15.x LTS

Configuring Zowe CLI

Configuring Zowe CLI

This section explains how to configure Zowe CLI, such as changing log levels and setting the home directory location.

Tip: CLI configuration is stored on your computer in the directory C:\Users\user01\.zowe by default. The directory includes log files, profile information, and installed CLI plug-ins. When troubleshooting, refer to the logs in the imperative and zowe folders.

Setting CLI log levels#

You can set the log level to adjust the level of detail that is written to log files:

Important! Setting the log level to TRACE or ALL might result in "sensitive" data being logged. For example, command line arguments will be logged when TRACE is set.

Environment VariableDescriptionValuesDefault
ZOWE_APP_LOG_LEVELZowe CLI logging levelLog4JS log levels (OFF, TRACE, DEBUG, INFO, WARN, ERROR, FATAL)DEBUG
ZOWE_IMPERATIVE_LOG_LEVELImperative CLI Framework logging levelLog4JS log levels (OFF, TRACE, DEBUG, INFO, WARN, ERROR, FATAL)DEBUG

Setting the CLI home directory#

You can set the location on your computer where Zowe CLI creates the .zowe directory, which contains log files, profiles, and plug-ins for the product:

Environment VariableDescriptionValuesDefault
ZOWE_CLI_HOMEZowe CLI home directory locationAny valid path on your computerYour computer default home directory