# Which Node version to use?

**URL:** <https://community.grafana.com/t/which-node-version-to-use/34347>\
**Category:** Grafana Plugin Development\
**Tags:** plugins\
**Created:** [July 29, 2020, 9:41am UTC](https://community.grafana.com/t/which-node-version-to-use/34347 "2020-07-29T09:41:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![phml](https://avatars.discourse-cdn.com/v4/letter/p/71e660/32.png) [@phml](https://community.grafana.com/u/phml)\
**Post date:** [July 29, 2020, 9:41am UTC](https://community.grafana.com/t/which-node-version-to-use/34347/1 "2020-07-29T09:41:12Z")

</div>

Hi,

In the documentation, I didn’t find any reference to which node version we should use. So we wrote plugins in Grafana 6.7.2 with Node 13.12.0 with success but with latest version of template generated by toolkit there is an “engines” section in package.json that seems new to me:

```json
  "engines": {
    "node": ">=12 <13"
  }

```

So I wonder if we should downgrade to Node 12?

By the way I don’t find any reference to this section in the documentation:

> **[plugin.json](https://grafana.com/docs/grafana/latest/developers/plugins/metadata/)**
>
> plugin.json The plugin.json file is required for all plugins. When Grafana starts, it scans the plugin folders and mounts every folder that contains a …

Should I post an Issue on Github to mention it?

---

<div class="post-metadata">

**Author:** ![kasmir](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@kasmir](https://community.grafana.com/u/kasmir)\
**Post date:** [July 29, 2020, 3:19pm UTC](https://community.grafana.com/t/which-node-version-to-use/34347/2 "2020-07-29T15:19:57Z")

</div>

This is probably specified to ensure that everything work. In my case I use node 14.4 and I don’t have any issue. If someday you feel that something is wrong you could think about downgrading your node version but if it works, it works

---

<div class="post-metadata">

**Author:** ![marcusolsson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/marcusolsson/32/7922_2.png) [@marcusolsson](https://community.grafana.com/u/marcusolsson)\
**Post date:** [August 5, 2020, 2:15pm UTC](https://community.grafana.com/t/which-node-version-to-use/34347/3 "2020-08-05T14:15:35Z")

</div>

We encourage that you try out newer versions and let us know if something breaks. Officially we support \>=12 \<13, but that doesn’t necessarily mean it won’t work on later versions.

We should definitely make this clearer somehow. I don’t think it belongs in the plugin.json reference docs, but I’m not sure where it should go at the moment.

---

<div class="post-metadata">

**Author:** ![phml](https://avatars.discourse-cdn.com/v4/letter/p/71e660/32.png) [@phml](https://community.grafana.com/u/phml)\
**Post date:** [September 14, 2020, 1:29pm UTC](https://community.grafana.com/t/which-node-version-to-use/34347/4 "2020-09-14T13:29:38Z")

</div>

Thank you for your response. In the meantime I downgraded my version just in case. But it is good to hear that it is not a strong imposed constraint.

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [April 26, 2022, 9:45pm UTC](https://community.grafana.com/t/which-node-version-to-use/34347/5 "2022-04-26T21:45:59Z")

</div>

@marcusolsson where can one find this nodejs requirement? Thanks
