# How to update V4 to V5

**URL:** https://discourse.nodered.org/t/how-to-update-v4-to-v5/99703
**Category:** General
**Created:** [18 November 2025 08:19 UTC](https://discourse.nodered.org/t/how-to-update-v4-to-v5/99703 "2025-11-18T08:19:50Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![warnert](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/warnert/32/108132_2.png) [@warnert](https://discourse.nodered.org/u/warnert)
#### Post date: [18 November 2025 08:19 UTC](https://discourse.nodered.org/t/how-to-update-v4-to-v5/99703/1 "2025-11-18T08:19:50Z")

</div>

Hi,  
I'm running NR on a virtual machine with Debian. I was running Debian11 and NR 4.0.6. I upgraded Debian from 11 to 12 and with the command:  
npm install -g --unsafe-perm node-red  
I tried to update to V5. But all that I got is 4.1.1.  
And I got the remark that --unsafe-perm deprecated is.  
What to do to update to V5?

---

<div class="post-metadata">

### Author: ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)
#### Post date: [18 November 2025 08:22 UTC](https://discourse.nodered.org/t/how-to-update-v4-to-v5/99703/2 "2025-11-18T08:22:23Z")

</div>

Homepage states: Latest version: [v4.1.1 (npm)]

---

<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: [18 November 2025 08:55 UTC](https://discourse.nodered.org/t/how-to-update-v4-to-v5/99703/3 "2025-11-18T08:55:20Z")

</div>

What makes you think that there is a v5 of node-red?

---

<div class="post-metadata">

### Author: ![warnert](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/warnert/32/108132_2.png) [@warnert](https://discourse.nodered.org/u/warnert)
#### Post date: [18 November 2025 09:15 UTC](https://discourse.nodered.org/t/how-to-update-v4-to-v5/99703/4 "2025-11-18T09:15:06Z")

</div>

I think I saw that somewhere... I must be mistaken... Sorry...  
Oh and I did not get deprecated on the --unsafe-perm but I got :  
Unknown cli-config --unsafe-perm. This will stop working on the next major version of npm

---

<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: [18 November 2025 09:48 UTC](https://discourse.nodered.org/t/how-to-update-v4-to-v5/99703/5 "2025-11-18T09:48:14Z")

</div>

My understanding is that --unsafe-perm is no longer necessary with current versions of npm.

---

<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: [16 February 2026 09:48 UTC](https://discourse.nodered.org/t/how-to-update-v4-to-v5/99703/6 "2026-02-16T09:48:21Z")

</div>

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