# Upgrading to latest Version from v1.1.3

**URL:** <https://discourse.nodered.org/t/upgrading-to-latest-version-from-v1-1-3/93684>\
**Category:** General\
**Created:** [4 December 2024 12:03 UTC](https://discourse.nodered.org/t/upgrading-to-latest-version-from-v1-1-3/93684 "2024-12-04T12:03:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterrf](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@peterrf](https://discourse.nodered.org/u/peterrf)\
**Post date:** [4 December 2024 12:03 UTC](https://discourse.nodered.org/t/upgrading-to-latest-version-from-v1-1-3/93684/1 "2024-12-04T12:03:56Z")

</div>

Hi all,

I would like to know if it is possible to upgrade directly from Nod Red v1.1.3 to the current version (v4?).

Any help/guidance would be much appreciated.

Regards,  
Peter

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 December 2024 12:19 UTC](https://discourse.nodered.org/t/upgrading-to-latest-version-from-v1-1-3/93684/2 "2024-12-04T12:19:04Z")

</div>

> [@peterrf](#):
>
> is possible to upgrade directly from Nod Red v1.1.3 to the current version

Yes, how to do it depends on what OS/hardware you are running on, and how you installed node-red intially. If you tell us the answers to that then we can tell you how to upgrade. Make sure you have everything backed up first of course.

---

<div class="post-metadata">

**Author:** ![peterrf](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@peterrf](https://discourse.nodered.org/u/peterrf)\
**Post date:** [4 December 2024 13:26 UTC](https://discourse.nodered.org/t/upgrading-to-latest-version-from-v1-1-3/93684/3 "2024-12-04T13:26:38Z")

</div>

Hi Colin and thanks for coming back.

OS is Ubuntu 18.04.6 LTS, Hardware is AWS LightSail, initially installed using NPM.

Look forward to hearing from you 🙂

Regards,  
Peter

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 December 2024 13:40 UTC](https://discourse.nodered.org/t/upgrading-to-latest-version-from-v1-1-3/93684/4 "2024-12-04T13:40:46Z")

</div>

You should be able to upgrade using the [recommended install/upgrade script for Debian/Ubuntu](https://nodered.org/docs/getting-started/raspberrypi) systems. However, since you did not use that initially it may change the way you use node-red.

> [@peterrf](#):
>
> initially installed using NPM.

Was that a local install or a global install? If global then the upgrade script should replace that with the latest version. Also that brings the question of how you installed nodejs. The upgrade script will attempt to upgrade nodejs also, so if you installed nodejs in an unusual manner (using something like `nvm` for example) then you could have problems.

My recommendation would be to use the script and then sort out any issues afterwards. There is a good chance it will just work. When you run the script I suggest adding the optional parameter `--node20` to ensure it updates nodejs to that version. So the command to run after stopping node-red is  
`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node20`  
If when it has installed, start it with  
`node-red-start`  
If you find that all your flows appear to have gone, do not panic, it is just that the default flows file name has changed. Ask again and we will tell you how to sort that. As I said, though, make sure you have everything backed up just in case. Backup the .node-red folder except for the node\_modules folder.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 March 2025 15:53 UTC](https://discourse.nodered.org/t/upgrading-to-latest-version-from-v1-1-3/93684/6 "2025-03-04T15:53:17Z")

</div>

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