# How to update to 2.1?

**URL:** <https://discourse.nodered.org/t/how-to-update-to-2-1/52858>\
**Category:** General\
**Created:** [28 October 2021 05:34 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858 "2021-10-28T05:34:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![markush1](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@markush1](https://discourse.nodered.org/u/markush1)\
**Post date:** [28 October 2021 05:34 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858/1 "2021-10-28T05:34:02Z")

</div>

Hello guys,

i'm trying to upgrade to the latest node-red version but it doesn't works for me. I'v run "npm -g --unsafe-perm node-red". Looks good so far:

```auto
npm install -g --unsafe-perm node-red

changed 290 packages, and audited 291 packages in 21s

28 packages are looking for funding
  run `npm fund` for details

3 moderate severity vulnerabilities

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

```

Restart shows the following log:

```auto
Oct 28 07:27:21 srv-haustechnik node-red[1412]: Willkommen bei Node-RED!
Oct 28 07:27:21 srv-haustechnik node-red[1412]: ===================
Oct 28 07:27:21 srv-haustechnik node-red[1412]: 28 Oct 07:27:21 - [info] Node-RED Version: v2.0.3
Oct 28 07:27:21 srv-haustechnik node-red[1412]: 28 Oct 07:27:21 - [info] Node.js Version: v14.17.6
Oct 28 07:27:21 srv-haustechnik node-red[1412]: 28 Oct 07:27:21 - [info] Linux 4.15.0-161-generic x64 LE
Oct 28 07:27:22 srv-haustechnik node-red[1412]: 28 Oct 07:27:22 - [info] Paletten-Nodes werden geladen
Oct 28 07:27:24 srv-haustechnik node-red[1412]: 28 Oct 07:27:24 - [info] Dashboard version 3.1.0 started at /ui

```

How can i upgrade to node-red 2.1.3?

Thanks for any hints.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [28 October 2021 06:28 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858/2 "2021-10-28T06:28:45Z")

</div>

Since you have a Linux system, try using the instructions for the type of Linux system that you have - don't use naked npm command

[https://nodered.org/docs/getting-started/local](https://nodered.org/docs/getting-started/local)

---

<div class="post-metadata">

**Author:** ![markush1](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@markush1](https://discourse.nodered.org/u/markush1)\
**Post date:** [28 October 2021 06:41 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858/3 "2021-10-28T06:41:32Z")

</div>

I'm using "naked" node-red via npm to have the possibility to use the actually version of node-red. The system would install node-red 1.2.9 !!  
By the way: the link you've posted shows the exact upgrade command which i've used.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [28 October 2021 06:43 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858/4 "2021-10-28T06:43:01Z")

</div>

Follow the linux links and see what happens

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [28 October 2021 08:01 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858/5 "2021-10-28T08:01:53Z")

</div>

@cymplecy was referring to these yellow sections at the top:

 ![Screenshot 2021-10-28 at 10.01.09](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/6/46169cfafc8103754577b0796838c1600382a297.jpeg)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [28 October 2021 08:03 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858/6 "2021-10-28T08:03:23Z")

</div>

OP has marked it as solved 🙂

---

<div class="post-metadata">

**Author:** ![markush1](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@markush1](https://discourse.nodered.org/u/markush1)\
**Post date:** [28 October 2021 08:06 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858/7 "2021-10-28T08:06:37Z")

</div>

Thank you anyway! That hint at the top would have saved me time 😉

---

<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:** [11 November 2021 08:07 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858/8 "2021-11-11T08:07:25Z")

</div>

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