# The NR script -help option apparently unsupported

**URL:** <https://discourse.nodered.org/t/the-nr-script-help-option-apparently-unsupported/80890>\
**Category:** General\
**Created:** [29 August 2023 17:58 UTC](https://discourse.nodered.org/t/the-nr-script-help-option-apparently-unsupported/80890 "2023-08-29T17:58:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scargill](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scargill/32/1118_2.png) [@scargill](https://discourse.nodered.org/u/scargill)\
**Post date:** [29 August 2023 17:58 UTC](https://discourse.nodered.org/t/the-nr-script-help-option-apparently-unsupported/80890/1 "2023-08-29T17:58:42Z")

</div>

To upgrade NR from 2 to 3 to test the MATTER node I used the script.

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))

Of course it left my nodejs at 14 which is too old for the MATTER node - I noted this...

There are extra parameters you can pass to the script. Add ` –help` to the end of the above command to see them.

Except that the result of putting -help on the end (after a space) was:

Error: Unsupported flag -help

Turns out it should be --help.

---

<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:** [29 August 2023 18:31 UTC](https://discourse.nodered.org/t/the-nr-script-help-option-apparently-unsupported/80890/2 "2023-08-29T18:31:12Z")

</div>

Oops, sorry Pete, I moved the rest of the thread - in that new thread I've already pinged Dave.

---

<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:** [30 August 2023 08:03 UTC](https://discourse.nodered.org/t/the-nr-script-help-option-apparently-unsupported/80890/3 "2023-08-30T08:03:12Z")

</div>

Docs page updated  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/f/7f2fce1fda5285fa2c995d25ea47a6a9cabaa7ce.png)  
(the source was "OK" - but apparently browsers are "clever" and can make -- into a long dash instead) - now forced to be code style so much clearer 🙂

---

<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:** [29 October 2023 08:04 UTC](https://discourse.nodered.org/t/the-nr-script-help-option-apparently-unsupported/80890/4 "2023-10-29T08:04:09Z")

</div>

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