# \[PLUGIN DEV\] How to check the current Kibana version number?

**URL:** <https://discuss.elastic.co/t/plugin-dev-how-to-check-the-current-kibana-version-number/162101>\
**Category:** Kibana\
**Created:** [December 26, 2018, 6:51am UTC](https://discuss.elastic.co/t/plugin-dev-how-to-check-the-current-kibana-version-number/162101 "2018-12-26T06:51:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simone\_Scarduzio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone_scarduzio/32/17128_2.png) [@Simone\_Scarduzio](https://discuss.elastic.co/u/Simone_Scarduzio)\
**Post date:** [December 26, 2018, 6:51am UTC](https://discuss.elastic.co/t/plugin-dev-how-to-check-the-current-kibana-version-number/162101/1 "2018-12-26T06:51:16Z")

</div>

Hello,

Is there a way from the plugin API in Kibana to check if the current Kibana version is for example "6.5.0 or later"?

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [December 26, 2018, 2:52pm UTC](https://discuss.elastic.co/t/plugin-dev-how-to-check-the-current-kibana-version-number/162101/2 "2018-12-26T14:52:37Z")

</div>

During the plugin installation, Kibana will verify that the plugin version matches Kibana's version. That logic can be found at [https://github.com/elastic/kibana/blob/6.5/src/cli\_plugin/install/kibana.js#L56](https://github.com/elastic/kibana/blob/6.5/src/cli_plugin/install/kibana.js#L56)

Your plugin should not have to do any version checking and Kibana will not allow the installation of a plugin with a version mismatch.

---

<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:** [January 23, 2019, 2:56pm UTC](https://discuss.elastic.co/t/plugin-dev-how-to-check-the-current-kibana-version-number/162101/3 "2019-01-23T14:56:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
