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
| Argument | Required | Description |
|---|---|---|
<plugin-name-and-version> | Yes | Plugin name and version. Use plugin@version format (for example, [email protected]). Omit the version to download the latest |
Options
None.
Environment Variables
| Variable | Default | Description |
|---|---|---|
JFROG_CLI_PLUGINS_SERVER | Official JFrog CLI Plugins registry | Configured Artifactory server ID from which to download plugins |
JFROG_CLI_PLUGINS_REPO | jfrog-cli-plugins | Local repository name. Use with JFROG_CLI_PLUGINS_SERVER to download from a custom source |
Examples
Show Help
jf plugin install --helpInstall 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@versionto install a specific version. Omit the version to install the latest. - Custom registry: Set
JFROG_CLI_PLUGINS_SERVERandJFROG_CLI_PLUGINS_REPOto 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 installcommand with a newer version to upgrade.
Updated about 1 month ago
