# Pi install script not installing node-red-pi on ubuntu

**URL:** <https://discourse.nodered.org/t/pi-install-script-not-installing-node-red-pi-on-ubuntu/4053>\
**Category:** Core Development\
**Created:** [17 October 2018 13:09 UTC](https://discourse.nodered.org/t/pi-install-script-not-installing-node-red-pi-on-ubuntu/4053 "2018-10-17T13:09:16Z")\
**Posts on this page:** 5\
**Page:** 1

<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:** [17 October 2018 13:09 UTC](https://discourse.nodered.org/t/pi-install-script-not-installing-node-red-pi-on-ubuntu/4053/1 "2018-10-17T13:09:16Z")

</div>

I have been testing the pi install script on Ubuntu 18.10 (about to be released). For some reason it hasn't installed node-red-pi into /usr/bin, though node-red-stop, start etc are there.  
Looking at an older system I see that /usr/bin/node-red-pi is a link to `usr/lib/node_modules/node-red/bin/node-red-pi` but on the new one the only node-red-pi that I can find is `/usr/local/lib/node_modules/.staging/node-red-57aaefaf/bin/node-red-pi`.  
Can someone explain what is going on?

---

<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:** [17 October 2018 16:15 UTC](https://discourse.nodered.org/t/pi-install-script-not-installing-node-red-pi-on-ubuntu/4053/2 "2018-10-17T16:15:36Z")

</div>

Perhaps this is also related to the fact that the wrong nodejs and npm are installed as in the other issue. I will leave this on hold too until that is sorted.

---

<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:** [24 October 2018 09:04 UTC](https://discourse.nodered.org/t/pi-install-script-not-installing-node-red-pi-on-ubuntu/4053/3 "2018-10-24T09:04:34Z")

</div>

This has been fixed by installing a valid version of node and 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:** [24 October 2018 09:18 UTC](https://discourse.nodered.org/t/pi-install-script-not-installing-node-red-pi-on-ubuntu/4053/4 "2018-10-24T09:18:21Z")

</div>

I thought there was a way of marking a thread solved, but I can't find it.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 October 2018 09:20 UTC](https://discourse.nodered.org/t/pi-install-script-not-installing-node-red-pi-on-ubuntu/4053/5 "2018-10-24T09:20:28Z")

</div>

Only some categories have the 'mark as solved' option enabled. As this is the #development category for discussions around developing Node-RED, rather than Q&A, it wasn't enabled here.
