To use the CLI, install it on your local machine, or download its executable, place it anywhere in your file system and add its location to your
PATH environment variable.
Environment Variables
The jf options command displays all the supported environment variables.
JFrog CLI makes use of the following environment variables:
Variable Name
[Default: INFO]
This variable determines the log level of the JFrog CLI. Possible values are: DEBUG, INFO, WARN and ERROR. If set to ERROR, JFrog CLI logs error messages only. It is useful when you wish to read or parse the JFrog CLI output and do not want any other information logged.
[Default: TIME]
Controls the log messages timestamp format. Possible values are: TIME, DATE_AND_TIME, and OFF.
[Default: ~/.jfrog]
Defines the JFrog CLI home directory.
[Default: The operating system's temp directory]
Defines the temp directory used by JFrog CLI.
[Default: Official JFrog CLI Plugins registry]
Configured Artifactory server ID from which to download JFrog CLI Plugins.
[Default: 'jfrog-cli-plugins']
Can be optionally used with the JFROG_CLI_PLUGINS_SERVER environment variable. Determines the name of the local repository to use.
Configured Artifactory repository name from which to download the jar needed by the mvn/gradle command. This environment variable's value format should be <server ID configured by the 'jf c add' command>/<repo name>. The repository should proxy This environment variable is used by the 'jf mvn' and 'jf gradle' commands, and also by the 'jf audit' command, when used for maven or gradle projects.
Server ID configured using the config command, unless sent as a command argument or option.
[Default: false]
If true, disables interactive prompts and progress bar.
© 2023 JFrog Ltd All Rights Reserved