Usage

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 NameDescription

JFROG_CLI_LOG_LEVEL

[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.

JFROG_CLI_LOG_TIMESTAMP

[Default: TIME]

Controls the log messages timestamp format. Possible values are: TIME, DATE_AND_TIME, and OFF.

JFROG_CLI_HOME_DIR

[Default: ~/.jfrog]

Defines the JFrog CLI home directory.

JFROG_CLI_TEMP_DIR

[Default: The operating system's temp directory]

Defines the temp directory used by JFrog CLI.

JFROG_CLI_PLUGINS_SERVER

[Default: Official JFrog CLI Plugins registry]

Configured Artifactory server ID from which to download JFrog CLI Plugins.

JFROG_CLI_PLUGINS_REPO

[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.

JFROG_CLI_RELEASES_REPO

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 https://releases.jfrog.io. 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.

JFROG_CLI_SERVER_ID

Server ID configured using the config command, unless sent as a command argument or option.

CI

[Default: false]

If true, disables interactive prompts and progress bar.

Last updated

© 2024 JFrog Ltd All Rights Reserved