# 2024 Install Attempt on Pi-Zero-W - some things have changed

**URL:** <https://discourse.nodered.org/t/2024-install-attempt-on-pi-zero-w-some-things-have-changed/89355>\
**Category:** General\
**Created:** [8 July 2024 14:19 UTC](https://discourse.nodered.org/t/2024-install-attempt-on-pi-zero-w-some-things-have-changed/89355 "2024-07-08T14:19:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HeneryH](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/heneryh/32/48986_2.png) [@HeneryH](https://discourse.nodered.org/u/HeneryH)\
**Post date:** [8 July 2024 14:19 UTC](https://discourse.nodered.org/t/2024-install-attempt-on-pi-zero-w-some-things-have-changed/89355/1 "2024-07-08T14:19:03Z")

</div>

First issue that I ran into was that Node js has been deprecated on the ARM6 Pi-Zero architecture.

I found this post about installing the 'experimental' versions.

> **[GitHub - sdesalas/node-pi-zero: Node installation on the Raspberry Pi Zero...](https://github.com/sdesalas/node-pi-zero/tree/master)**
>
> master

Now when I run the node-red installer it seems to run but I do not end up with a node-red or a node-red-pi executable in my /usr/bin directory.

```auto
ls /usr/bin/node*
/usr/bin/node /usr/bin/node-red-reload /usr/bin/node-red-start
/usr/bin/node-red-log /usr/bin/node-red-restart /usr/bin/node-red-stop

```

There were no ominous warnings in the log file and the only visual from the installer was the final two lines of output

```auto
Running Node-RED install for user me at /home/me on raspbian

This can take 20-30 minutes on the slower Pi versions - please wait.

  Stop Node-RED ✔
  Remove old version of Node-RED ✔
  Node option not specified : --node18 or --node20
  Leave existing Node.js : v20.11.1 Npm 10.2.4
  Clean npm cache -
  Install Node-RED core ✔ 4.0.2
  Move global nodes to local -
  Leave existing nodes -
  Install extra Pi nodes ✔
  Add shortcut commands ✔
  Update systemd script ✔

Any errors will be logged to /var/log/nodered-install.log
All done.
You can now start Node-RED with the command node-red-start
  or using the icon under Menu / Programming / Node-RED
Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880

Started : Mon 8 Jul 09:36:43 EDT 2024
Finished: Mon 8 Jul 09:48:40 EDT 2024

**********************************************************************************
 ### WARNING ###
 DO NOT EXPOSE NODE-RED TO THE OPEN INTERNET WITHOUT SECURING IT FIRST

 Even if your Node-RED doesn't have anything valuable, (automated) attacks will
 happen and could provide a foothold in your local network

 Follow the guide at https://nodered.org/docs/user-guide/runtime/securing-node-red
 to setup security.

 ### ADDITIONAL RECOMMENDATIONS ###
  - Remove the /etc/sudoers.d/010_pi-nopasswd file to require entering your password
    when performing any sudo/root commands:

      sudo rm -f /etc/sudoers.d/010_pi-nopasswd

  - You can customise the initial settings by running:

      node-red admin init

  - After running Node-RED for the first time, change the ownership of the settings
    file to 'root' to prevent unauthorised changes:

      sudo chown root:root ~/.node-red/settings.js

**********************************************************************************

sudo: /usr/bin/node-red: command not found
chown: cannot access '/home/me/.node-red/settings.js': No such file or directory

```

```auto
 ls -la .node-red
total 32
drwxr-xr-x 3 me me 4096 Jul 8 09:43 .
drwx------ 6 me me 4096 Jul 8 09:42 ..
drwxr-xr-x 16 me me 4096 Jul 8 09:43 node_modules
-rw-r--r-- 1 me me 448 Jul 8 09:43 package.json
-rw-r--r-- 1 me me 13066 Jul 8 09:43 package-lock.json

```

---

<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:** [8 July 2024 14:21 UTC](https://discourse.nodered.org/t/2024-install-attempt-on-pi-zero-w-some-things-have-changed/89355/2 "2024-07-08T14:21:56Z")

</div>

See this thread for recent discussion about the problem

> [@Can't start node-red 4 after re-install on pi zero w](https://discourse.nodered.org/t/cant-start-node-red-4-after-re-install-on-pi-zero-w/89322/1):
>
> Hi I'm trying to run node-red on a headless pi zero w with a fresh OS install. This all worked previously with an earlier pi OS and version 3.x of node-red - until my ssd died. I've tried to reinstall and get it working but with little success. I'm aware that due to the arm6 hardware of the pi zero, I have to use unofficial node builds as described here: https://github.com/sdesalas/node-pi-zero I copied a script and changed the version to 20.15.0 - which I thought was the latest version - an…

---

<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:** [8 July 2024 14:36 UTC](https://discourse.nodered.org/t/2024-install-attempt-on-pi-zero-w-some-things-have-changed/89355/3 "2024-07-08T14:36:18Z")

</div>

working on a workaround as we speak...

---

<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:** [6 October 2024 14:36 UTC](https://discourse.nodered.org/t/2024-install-attempt-on-pi-zero-w-some-things-have-changed/89355/4 "2024-10-06T14:36:48Z")

</div>

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