Uninstall JFrog CLI Plugins

Uninstall a JFrog CLI plugin from your local plugin installation.

Uninstall a JFrog CLI plugin from your local JFrog CLI plugin installation. For an overview of managing plugins, see JFrog CLI Plugins. To add a plugin instead, see Install JFrog CLI Plugins.

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:

  • Run:

    jf plugin uninstall <PLUGIN_NAME>

    Where:

    • <PLUGIN_NAME> — Name of the plugin to remove.

    For example:

    jf plugin uninstall rt-fs

The command asks for confirmation before removing the plugin:

Are you sure you want to uninstall plugin: "<PLUGIN_NAME>"? (y/n) [n]?

Answering y removes the plugin and produces no further output. The command exits with code 0. Answering n (or pressing Enter to accept the [n] default) leaves the plugin installed and also exits with code 0. The exit code alone does not indicate whether the plugin was actually removed. In a non-interactive script, pipe y into the command (for example, echo y | jf plugin uninstall <PLUGIN_NAME>) so the prompt does not block or silently no-op. 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:

  • 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's directory from ~/.jfrog/plugins/. ~/.jfrog/plugins/plugins.yml is a schema-version marker file (for example {"version":1}). It is not a per-plugin registry and is not updated by install or uninstall.
  • 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.

Frequently Asked Questions

This section provides answers to frequently asked questions.

plusFAQs
Q: How do I uninstall a JFrog CLI plugin without answering the interactive confirmation prompt?

A: Pipe y into the command, for example echo y | jf plugin uninstall <PLUGIN_NAME>, so the prompt doesn't block a non-interactive script. See Uninstall a Plugin.

Q: What happens if I answer "n" to the uninstall confirmation prompt?

A: The plugin stays installed, and the command still exits with code 0, so the exit code alone doesn't confirm removal. Verify removal by checking that ~/.jfrog/plugins/<PLUGIN_NAME>/ no longer exists.

Q: What is the difference between jf plugin uninstall and jf plugin ui?

A: jf plugin ui is a shorthand alias for the same command and removes the plugin identically. See Using the Alias.

Q: Does uninstalling a plugin remove its configuration or data?

A: No. The command only removes the plugin's directory from ~/.jfrog/plugins/. Any data or configuration the plugin created elsewhere is not affected. See Important Notes.

Q: How do I confirm a plugin was actually removed?

A: List the plugins directory with ls ~/.jfrog/plugins/ and confirm the plugin's folder no longer appears.

Related Topics


What’s Next

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

Did this page help you?