# How to upgrade node.js (from v10.23.1 to v16.13.2) in Kibana 7.10.2

**URL:** https://discuss.elastic.co/t/how-to-upgrade-node-js-from-v10-23-1-to-v16-13-2-in-kibana-7-10-2/307409
**Category:** Kibana
**Created:** [June 16, 2022, 1:04pm UTC](https://discuss.elastic.co/t/how-to-upgrade-node-js-from-v10-23-1-to-v16-13-2-in-kibana-7-10-2/307409 "2022-06-16T13:04:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mridul.tamuli](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@mridul.tamuli](https://discuss.elastic.co/u/mridul.tamuli)
#### Post date: [June 16, 2022, 1:04pm UTC](https://discuss.elastic.co/t/how-to-upgrade-node-js-from-v10-23-1-to-v16-13-2-in-kibana-7-10-2/307409/1 "2022-06-16T13:04:09Z")

</div>

Hi,

We are using Kibana 7.10.2 with Elasticsearch of the same version. Currently we have a urgent need to upgrade the node.js version of Kibana to 16.13.2. We tried but unable to get the desired result. Is it possible to upgrade the node.js version in Kibana 7.10.2? If yes, can anyone help us with the steps to proceed.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [June 17, 2022, 7:28pm UTC](https://discuss.elastic.co/t/how-to-upgrade-node-js-from-v10-23-1-to-v16-13-2-in-kibana-7-10-2/307409/2 "2022-06-17T19:28:59Z")

</div>

I don't think this is going to work. Will probably break a bunch of things?

@wa7son what do you think? Do we have a path forward?

Thanks,  
Bhavya

---

<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 15, 2022, 7:29pm UTC](https://discuss.elastic.co/t/how-to-upgrade-node-js-from-v10-23-1-to-v16-13-2-in-kibana-7-10-2/307409/3 "2022-07-15T19:29:57Z")

</div>

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

---

<div class="post-metadata">

### Author: ![wa7son](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wa7son/32/21259_2.png) [@wa7son](https://discuss.elastic.co/u/wa7son)
#### Post date: [August 17, 2022, 9:02am UTC](https://discuss.elastic.co/t/how-to-upgrade-node-js-from-v10-23-1-to-v16-13-2-in-kibana-7-10-2/307409/4 "2022-08-17T09:02:19Z")

</div>

Hi @mridul.tamuli

I was on leave and unfortunately didn't see your question before now. I hope you managed to find a solution to your problem in meantime. However, here's my answer to your question:

It's not possible to easily upgrade Node.js in Kibana 7.10.2 to v16.x. This will require that you build a custom version of Kibana from scratch as a lot of the source code needs to be updated as well since it's not 100% compatible with the breaking changes in the newer Node.js versions. You can see the work that have gone into making Kibana compatible with the newer Node.js versions by viewing the upgrade PRs on GitHub:

- Upgrade from v10 to v12: [Upgrade Node.js to version 12 by watson · Pull Request #61587 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/61587)
- Upgrade from v12 to v14: [Upgrade Node.js to version 14 by watson · Pull Request #83425 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/83425)
- Upgrade from v14 to v16: [Bump node to 16.11.1 by jbudz · Pull Request #110684 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/110684)

I would argue that it's most likely much easier to upgrade to the newest version of Kibana 7.x than trying to upgrade the Node.js version of your current Kibana instance.

I hope this helps.
