jf plugin install

Install or upgrade a JFrog CLI plugin from the plugins registry.

Synopsis

jf plugin install <plugin-name-and-version> [options]

Aliases: plugin i

Arguments

ArgumentRequiredDescription
<plugin-name-and-version>YesPlugin name and version. Use plugin@version format (for example, [email protected]). Omit the version to download the latest

Options

None.

Environment Variables

VariableDefaultDescription
JFROG_CLI_PLUGINS_SERVEROfficial JFrog CLI Plugins registryConfigured Artifactory server ID from which to download plugins
JFROG_CLI_PLUGINS_REPOjfrog-cli-pluginsLocal repository name. Use with JFROG_CLI_PLUGINS_SERVER to download from a custom source

Examples

Show Help

jf plugin install --help

Install Latest Version

jf plugin install <plugin-name>

Install Specific Version

jf plugin install <plugin-name>@<version>

Install from Custom Registry

export JFROG_CLI_PLUGINS_SERVER=<server-id>
export JFROG_CLI_PLUGINS_REPO=<repo-name>
jf plugin install <plugin-name>

When to Use

Use jf plugin install to extend JFrog CLI with community or custom plugins. Plugins add new commands that are not part of the core CLI. Browse available plugins at the JFrog CLI Plugins Registry.

Important Notes

  • Version format: Use plugin-name@version to install a specific version. Omit the version to install the latest.
  • Custom registry: Set JFROG_CLI_PLUGINS_SERVER and JFROG_CLI_PLUGINS_REPO to download plugins from your own Artifactory instance (useful for air-gapped environments or enterprise-approved plugin sets).
  • Install location: Plugins are installed in ~/.jfrog/plugins/ (or $JFROG_CLI_HOME_DIR/plugins/).
  • Upgrades: Run the same jf plugin install command with a newer version to upgrade.


What’s Next

Want to create your own? Learn how to publish a plugin to your registry.