To update a plugin, remove the current version and reinstall the plugin.
To remove a plugin, use the
remove command, as in the following example:
$ bin/kibana-plugin remove x-pack
You can also remove a plugin manually by deleting the plugin’s subdirectory under the
Removing a plugin will result in an "optimize" run which will delay the next start of Kibana.