# Specify Kiaban's plugin version for Elastic 5.0.0

**URL:** <https://discuss.elastic.co/t/specify-kiabans-plugin-version-for-elastic-5-0-0/64126>\
**Category:** Kibana\
**Created:** [October 27, 2016, 10:20am UTC](https://discuss.elastic.co/t/specify-kiabans-plugin-version-for-elastic-5-0-0/64126 "2016-10-27T10:20:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrvincnezo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrvincnezo/32/10829_2.png) [@mrvincnezo](https://discuss.elastic.co/u/mrvincnezo)\
**Post date:** [October 27, 2016, 10:20am UTC](https://discuss.elastic.co/t/specify-kiabans-plugin-version-for-elastic-5-0-0/64126/1 "2016-10-27T10:20:36Z")

</div>

I am developing a plugin for Kibana 5.0.0. Where can I specify the plugin version for the sake of version managing?

Previously, the plugin version was specified in the plugin's package.json in `version` (i.e. version: 0.1.0). Tried to do so in Kibana 5.0.0, results in "Plugin installation was unsuccessful due to error "Incorrect Kibana version in plugin [arc\_fieldformatters]. Expected [5.0.0]; found [0.1.0]".

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [October 27, 2016, 4:50pm UTC](https://discuss.elastic.co/t/specify-kiabans-plugin-version-for-elastic-5-0-0/64126/2 "2016-10-27T16:50:39Z")

</div>

I think the problem is that Kibana is checking (and requiring) that plugins match Kibana version. So try setting your plugin version to 5.0.0 and see if that works.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![Court](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/court/32/6640_2.png) [@Court](https://discuss.elastic.co/u/Court)\
**Post date:** [October 27, 2016, 5:14pm UTC](https://discuss.elastic.co/t/specify-kiabans-plugin-version-for-elastic-5-0-0/64126/3 "2016-10-27T17:14:57Z")

</div>

You must specify an exact Kibana version number that you've verified your plugin to work against, and you can do that in one of two ways:

1. In the `version` field of your package.json, which essentially means one version of your plugin per version of Kibana (i.e. `version: '5.0.0'`). This method may be removed in the future, but that's unclear at the moment.
2. In the a `kibana.version` block in your package.json (i.e. `kibana: { version: '5.0.0' }`, which allows you to have multiple versions of your own plugin that are compatible with a given Kibana version. This is is probably what you want if you're actively developing a plugin as you'll likely be publishing new versions frequently.

Edit: This was all added in this PR: [https://github.com/elastic/kibana/pull/8222](https://github.com/elastic/kibana/pull/8222)

---

<div class="post-metadata">

**Author:** ![mrvincnezo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrvincnezo/32/10829_2.png) [@mrvincnezo](https://discuss.elastic.co/u/mrvincnezo)\
**Post date:** [October 27, 2016, 5:27pm UTC](https://discuss.elastic.co/t/specify-kiabans-plugin-version-for-elastic-5-0-0/64126/4 "2016-10-27T17:27:21Z")

</div>

The `kibana.version` is exactly what I was looking for. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:35pm UTC](https://discuss.elastic.co/t/specify-kiabans-plugin-version-for-elastic-5-0-0/64126/5 "2017-07-06T13:35:25Z")

</div>


