# Problems installing Node Red on my RasPi

**URL:** https://discourse.nodered.org/t/problems-installing-node-red-on-my-raspi/56183
**Category:** General
**Created:** [5 January 2022 23:12 UTC](https://discourse.nodered.org/t/problems-installing-node-red-on-my-raspi/56183 "2022-01-05T23:12:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jacob22](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@jacob22](https://discourse.nodered.org/u/jacob22)
#### Post date: [5 January 2022 23:12 UTC](https://discourse.nodered.org/t/problems-installing-node-red-on-my-raspi/56183/1 "2022-01-05T23:12:01Z")

</div>

Hey there!  
I tried installing node red with the following command (how to get started): ```  
bash \<(curl -sL [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered))

The following problems appears, even after trying the same command again. I am not able to start node red... some got a clue what i could also try?

![Screenshot](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/2/6251f0959860aacafd5a5070f489f0e0b28ae36c.png)

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/d/8d95d3e4acbe5f342b03801b75bd66e96c118eb6.png)

Regars,  
Jacob

---

<div class="post-metadata">

### Author: ![toggledbits](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/toggledbits/32/53192_2.png) [@toggledbits](https://discourse.nodered.org/u/toggledbits)
#### Post date: [5 January 2022 23:24 UTC](https://discourse.nodered.org/t/problems-installing-node-red-on-my-raspi/56183/2 "2022-01-05T23:24:38Z")

</div>

I had the same problem. Apparently the step "Remove old version of Node-RED" removes the `node` and `npm` commands from the installed _nodejs_, even if you are asking it to use an existing installed one (i.e. it damages an existing _nodejs_ install -- oops).

Easy to fix if you know where everything is. Just re-symlink `node` and `npm` from where they are installed (for me it is `/usr/local/lib/nodejs/node-vXX.XX.X-linux-armv7l/bin`) to where they are supposed to be in the command path (for me it is `/usr/local/bin`) and then start Node-RED.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [5 January 2022 23:27 UTC](https://discourse.nodered.org/t/problems-installing-node-red-on-my-raspi/56183/3 "2022-01-05T23:27:55Z")

</div>

I think it is the version of JavaScript you have. You should use v16 or v14. If you add `--help` At the end of the curl command and it will show you the exact syntax to install javascript v14 or v16.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [5 January 2022 23:28 UTC](https://discourse.nodered.org/t/problems-installing-node-red-on-my-raspi/56183/4 "2022-01-05T23:28:15Z")

</div>

Do you **need** node v17?

I'd recommend trying again with --node16...

`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node16`

---

<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: [19 January 2022 23:28 UTC](https://discourse.nodered.org/t/problems-installing-node-red-on-my-raspi/56183/5 "2022-01-19T23:28:38Z")

</div>

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