Kibana comes with its own plugin installer. Once the archive is unpacked, it's available in
Usage: bin/kibana-plugin [command] [options]
The Kibana plugin manager enables you to install and remove plugins that provide additional functionality to Kibana
list [options] list installed plugins
install [options] <plugin/url> install a plugin
remove [options] <plugin> remove a plugin
help <command> get the help for a specific command
The plugin installer handles things like packing the frontend dependencies into a usable bundle.
If you're trying to install plugins some other way, there's pretty much no way that can be supported; meaning you would be on your own.