# Raspberry pi on Bookworm

**URL:** <https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023>\
**Category:** General\
**Created:** [25 December 2023 15:02 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023 "2023-12-25T15:02:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcaccount](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@dcaccount](https://discourse.nodered.org/u/dcaccount)\
**Post date:** [25 December 2023 15:02 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/1 "2023-12-25T15:02:36Z")

</div>

Hello,  
my Raspberry is running Raspbian Bookworm. I was about to install Node-RED but I have found:

> If you are using Raspberry Pi OS, Bullseye is the currently supported version.

When is the Bookworm compatibility expected to be released? Please advise  
Thanks,  
Daniele

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [25 December 2023 15:36 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/2 "2023-12-25T15:36:34Z")

</div>

It is fine on bookworm. Docs must be slightly behind 🙂

---

<div class="post-metadata">

**Author:** ![dcaccount](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@dcaccount](https://discourse.nodered.org/u/dcaccount)\
**Post date:** [25 December 2023 15:38 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/3 "2023-12-25T15:38:59Z")

</div>

Thanks for the good news? Shall I install it with the usual script?

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

```

Thanks,  
Daniele

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [25 December 2023 15:40 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/4 "2023-12-25T15:40:17Z")

</div>

Yes. That should work fine.

---

<div class="post-metadata">

**Author:** ![dcaccount](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@dcaccount](https://discourse.nodered.org/u/dcaccount)\
**Post date:** [25 December 2023 15:47 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/5 "2023-12-25T15:47:18Z")

</div>

Thanks, with or without sudo?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [25 December 2023 15:47 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/6 "2023-12-25T15:47:54Z")

</div>

Must be without

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [27 December 2023 01:12 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/7 "2023-12-27T01:12:01Z")

</div>

Are there any known issues e.g. with Pi specific nodes ?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 December 2023 07:43 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/8 "2023-12-27T07:43:24Z")

</div>

None that have been reported

---

<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:** [27 December 2023 08:41 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/9 "2023-12-27T08:41:44Z")

</div>

The RPi-GPIO python library, that NR depends on, doesn't work on a Pi5 using Bookworm.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 December 2023 09:13 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/10 "2023-12-27T09:13:39Z")

</div>

really ? oh joy.  
Can you raise an issue with any more details?  
Is it just the Pi5 ?  
What are they replacing it with ?

---

<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:** [27 December 2023 09:40 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/11 "2023-12-27T09:40:24Z")

</div>

All I know is that it was a big issue in the Pi eco-system when the Pi5 was launched.

I've not kept abreast of developments sorry ☹

---

<div class="post-metadata">

**Author:** ![iiot2k](https://avatars.discourse-cdn.com/v4/letter/i/8baadc/32.png) [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Post date:** [27 December 2023 10:39 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/12 "2023-12-27T10:39:34Z")

</div>

It's very difficult to get an Rpi5 at the moment. Was lucky and was able to get one. With the Rpi5, access to the GPIO is different. I'm in the process of adapting my nodes for the Rpi5. But unfortunately there is little information and examples about it.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [27 December 2023 13:07 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/13 "2023-12-27T13:07:41Z")

</div>

I assume you've seen this?

[https://lloydrochester.com/post/hardware/libgpiod-intro-rpi/](https://lloydrochester.com/post/hardware/libgpiod-intro-rpi/)

Don't know if it helps but at least seems to explain the background?

---

<div class="post-metadata">

**Author:** ![PizzaProgram](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pizzaprogram/32/19431_2.png) [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)\
**Post date:** [31 December 2023 09:41 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/14 "2023-12-31T09:41:54Z")

</div>

I've just tried the official install script on RPi bookworm 64bit.

 ![kép](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/5/c5cc141db2c13538b30fb1903a8d4f68c9645812.png)

Of course after installing npm manually everything worked fine,  
but it's interesting why the script isn't checking if npm is installed?

* * *

Edit:  
at the end of the install this happened in my SSH terminal:

```auto
  Would you like to customise the settings now (y/N) ? y

Node-RED Settings File initialisation
=====================================
This tool will help you create a Node-RED settings file.

? Settings file ‣ /home/pi/.node-red/settings.js

```

and it just **stopped** there. Did not get the cursor back.  
No `settings.js` file was created.

---

<div class="post-metadata">

**Author:** ![PizzaProgram](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pizzaprogram/32/19431_2.png) [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)\
**Post date:** [31 December 2023 09:50 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/15 "2023-12-31T09:50:11Z")

</div>

My bad ...

the script was WAITING, so I edit that line and press Enter !  
+1 echo would help a lot. Like:

> Edit following path and filename, than press Enter:

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [31 December 2023 10:00 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/16 "2023-12-31T10:00:21Z")

</div>

> [@PizzaProgram](#):
>
> it's interesting why the script isn't checking if npm is installed?

Well - obviously it IS checking - and not finding it... which usually only happens if nodejs is not correctly installed as npm is part of the nodejs install. How did you install nodejs ? and which version of npm did you end up installing (and how?)

---

<div class="post-metadata">

**Author:** ![PizzaProgram](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pizzaprogram/32/19431_2.png) [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)\
**Post date:** [31 December 2023 10:03 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/17 "2023-12-31T10:03:19Z")

</div>

> [@dceejay](#):
>
> How did you install nodejs ?

I did no such thing.  
the NR script has installed it for me.

`sudo apt install npm`

As I've noted:

- After that the NR install script WORKED.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [31 December 2023 10:09 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/18 "2023-12-31T10:09:49Z")

</div>

can you do me a favour and show the result of

```auto
dpkg -s nodejs | grep Version && npm -v

```

Thanks

---

<div class="post-metadata">

**Author:** ![PizzaProgram](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pizzaprogram/32/19431_2.png) [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)\
**Post date:** [31 December 2023 10:12 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/19 "2023-12-31T10:12:43Z")

</div>

```bash
pi@oh:~ $ dpkg -s nodejs | grep Version && npm -v
Version: 18.19.0+dfsg-6~deb12u1
9.2.0

```

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [31 December 2023 10:22 UTC](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023/20 "2023-12-31T10:22:15Z")

</div>

Thanks  
yeah that is the one from the debian repo not the nodesource repo, which doesn't come with npm...). Not sure why that got installed in the first place.

[Next page](https://discourse.nodered.org/t/raspberry-pi-on-bookworm/84023.md?page=2)
