# A command line to show all versions running

**URL:** <https://discourse.nodered.org/t/a-command-line-to-show-all-versions-running/85636>\
**Category:** General\
**Created:** [18 February 2024 10:01 UTC](https://discourse.nodered.org/t/a-command-line-to-show-all-versions-running/85636 "2024-02-18T10:01:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiovanniG](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Post date:** [18 February 2024 10:01 UTC](https://discourse.nodered.org/t/a-command-line-to-show-all-versions-running/85636/1 "2024-02-18T10:01:49Z")

</div>

Hi mates, may I please suggest to create a command line, for example node-red-version where is possible to show all important informations at the same time, thank you!  
uname -r  
node -v  
npm -v  
node-red --h

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 February 2024 10:09 UTC](https://discourse.nodered.org/t/a-command-line-to-show-all-versions-running/85636/2 "2024-02-18T10:09:30Z")

</div>

You can use semi colons or double ampersand or echo a string

```bash
uname -r; node -v; npm -v; node-red --help

```

```bash
uname -r && node -v && npm -v && node-red --help

```

```bash
echo -e "Kernel:\t\t$(uname -r)\nNode.js:\t$(node -v)\nnpm:\t\t$(npm -v)\nnode-red:\t$(node-red --help)"

```

the last one _should_ give you all data in one go

---

<div class="post-metadata">

**Author:** ![GiovanniG](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Post date:** [18 February 2024 10:14 UTC](https://discourse.nodered.org/t/a-command-line-to-show-all-versions-running/85636/3 "2024-02-18T10:14:40Z")

</div>

> [@Steve-Mcl](#):
>
> `echo -e "Kernel:\t\t$(uname -r)\nNode.js:\t$(node -v)\nnpm:\t\t$(npm -v)\nnode-red:\t$(node-red --h)"`

thank you! A bit hard to remember, if on the next versions can be included on a batch command will be great 🙂

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 February 2024 10:18 UTC](https://discourse.nodered.org/t/a-command-line-to-show-all-versions-running/85636/4 "2024-02-18T10:18:25Z")

</div>

I agree, a node-red command line option to report system info would definitely simplify support questions.

Something like `node-red --info` (to differentiate from `node-red --version` - which also isn't a thing oddly)

If you open an issue and link back to this topic, I will assess it for NR V4.

---

<div class="post-metadata">

**Author:** ![GiovanniG](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Post date:** [18 February 2024 10:25 UTC](https://discourse.nodered.org/t/a-command-line-to-show-all-versions-running/85636/5 "2024-02-18T10:25:37Z")

</div>

Thanks, I did it.  
Searched on gituhub for NR, issues, feature request, it forwarded me again in this forum, I created it

> [@Command line to show all versions running](https://discourse.nodered.org/t/command-line-to-show-all-versions-running/85637):
>
> Hi, I kindly ask you to introduce a brief command to check quikly all versions of important system's components running, Steve-Mcl suggested kindly a very effective one echo -e "Kernel:\t\t$(uname -r)\nNode.js:\t$(node -v)\nnpm:\t\t$(npm -v)\nnode-red:\t$(node-red --help)" Please have look here:

---

<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:** [18 February 2024 10:32 UTC](https://discourse.nodered.org/t/a-command-line-to-show-all-versions-running/85636/6 "2024-02-18T10:32:01Z")

</div>

Not the same thing I know, but in case you did not know, in the editor if you Right Click the background and Show Action List, you can select Show System Info to see that information, and a lot more.

---

<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:** [3 March 2024 10:32 UTC](https://discourse.nodered.org/t/a-command-line-to-show-all-versions-running/85636/7 "2024-03-03T10:32:53Z")

</div>

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