# Pi install script

**URL:** <https://discourse.nodered.org/t/pi-install-script/83369>\
**Category:** General\
**Created:** [2 December 2023 02:35 UTC](https://discourse.nodered.org/t/pi-install-script/83369 "2023-12-02T02:35:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [2 December 2023 02:35 UTC](https://discourse.nodered.org/t/pi-install-script/83369/1 "2023-12-02T02:35:18Z")

</div>

Ok. Upgrading to 3.1.1 and was going to run  
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))  
I am on nodejs 16 and wanted to move to 18. All I have to do is add --18 or is it --node18 and where do I add it? Inside paren? Outside paren? Searched thru forum and lots of "just add -18" to command but the syntax is eluding me.

---

<div class="post-metadata">

**Author:** ![magicfire](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/magicfire/32/93420_2.png) [@magicfire](https://discourse.nodered.org/u/magicfire)\
**Post date:** [2 December 2023 03:02 UTC](https://discourse.nodered.org/t/pi-install-script/83369/2 "2023-12-02T03:02:59Z")

</div>

download from  
[nodejs v18](https://nodejs.org/download/release/latest-v18.x/)  
then

> export PATH="/home/node-v18.x.x-linux-armv7l/bin:$PATH"

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [2 December 2023 03:06 UTC](https://discourse.nodered.org/t/pi-install-script/83369/3 "2023-12-02T03:06:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [2 December 2023 11:06 UTC](https://discourse.nodered.org/t/pi-install-script/83369/4 "2023-12-02T11:06:38Z")

</div>

@Paul-Reed I see you edited my answer but I can't for the life of me see what you changed.  
Can you explain what I had wrong please?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/4/541bf873b434423a13d5ddfef94e5ae68c4507ba.png)

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [2 December 2023 13:19 UTC](https://discourse.nodered.org/t/pi-install-script/83369/5 "2023-12-02T13:19:51Z")

</div>

Nothing has changed, and nothing is wrong.

I was trying to stop discourse from turning the URL part of the script into a link.

But it's as good as it gets 😉

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [2 December 2023 14:56 UTC](https://discourse.nodered.org/t/pi-install-script/83369/6 "2023-12-02T14:56:20Z")

</div>

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

```

````auto
```
You should know this 
```

````

😉

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [2 December 2023 15:57 UTC](https://discourse.nodered.org/t/pi-install-script/83369/7 "2023-12-02T15:57:58Z")

</div>

Yes Marcus, that's what I tried 😂😂

...but it's not what I wanted, as you can't see the end of script (the important bit!) without scrolling.  
What I should have done was use 1 backtick at the beginning and one at the end of the script.  
Which I've now done.

---

<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:** [16 December 2023 15:58 UTC](https://discourse.nodered.org/t/pi-install-script/83369/8 "2023-12-16T15:58:41Z")

</div>

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