Thanks to visit codestin.com
Credit goes to docs.jfrog.com

Uninstall JFrog CLI Plugins

Uninstall a JFrog CLI plugin from your local JFrog CLI plugin installation.

Synopsis

jf plugin uninstall <plugin-name>

Aliases: plugin ui, shorthand for plugin uninstall.

Arguments

The following table lists jf plugin uninstall arguments.

ArgumentRequiredDescription
<plugin-name>YesName of the plugin to uninstall

Options

None.

Examples

Show Help

To show uninstall command help:

  • Run the following command.

    jf plugin uninstall --help

Uninstall a Plugin

To uninstall a plugin:

  1. Run:

    jf plugin uninstall <plugin-name>

    Where:

    • <plugin-name> — Name of the plugin to remove.

    For example:

    jf plugin uninstall rt-fs

On success, the command exits with code 0 and produces no output. To confirm removal, verify that ~/.jfrog/plugins/<plugin-name>/ no longer exists. You can list installed plugins with ls ~/.jfrog/plugins/.

Using the Alias

To uninstall using the short alias:

  1. Run:

    jf plugin ui <plugin-name>

    Where:

    • <plugin-name> — Name of the plugin to remove.

    For example:

    jf plugin ui rt-fs

Error Cases

If the plugin is not installed, JFrog CLI returns a non-zero exit code.

[Error] plugin '<plugin name>' could not be found

Important Notes

  • Removal scope. The command removes the plugin binary from the plugins directory at ~/.jfrog/plugins/ and updates the plugin registry at ~/.jfrog/plugins/plugins.yml.
  • Command availability. The plugin's commands become unavailable immediately after uninstallation.
  • Data and configuration. The command does not affect any data or configurations the plugin may have created.

What’s Next

For more information on installing plugins, see Install JFrog CLI Plugins.