# How to install node red and recognizer

**URL:** <https://discourse.nodered.org/t/how-to-install-node-red-and-recognizer/82249>\
**Category:** General\
**Created:** [22 October 2023 07:50 UTC](https://discourse.nodered.org/t/how-to-install-node-red-and-recognizer/82249 "2023-10-22T07:50:51Z")\
**Posts on this page:** 2\
**Page:** 4

<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:** [28 October 2023 16:48 UTC](https://discourse.nodered.org/t/how-to-install-node-red-and-recognizer/82249/63 "2023-10-28T16:48:28Z")

</div>

> [@dceejay](#):
>
> So nothing can be tweaked there. It would need to be in the core.

OK - a few examples of use/misuse of the node-red command (or script) - /usr/bin/node-red:  
Maybe some or all of these only happen on my Linux computer?

1. `node-red admin rm`  
The script prints the Usage message

```auto
Usage:
   node-red-admin <command> [args] [--help] [--userDir DIR] [--json]

Description:
   Node-RED command-line client

Commands:
   init - Interactively generate a Node-RED settings file
   hash-pw - Creates a hash to use for Node-RED settings like "adminAuth"
   target - Set or view the target URL and port like http://localhost:1880
   login - Log user in to the target of the Node-RED admin API
   remove - Remove the NPM module from Node-RED
etc

```

Excellent, I made a mistake and it told me about it.

1. `node-red stop` or `node-red version`  
It happily assumes that I want to **start** Node-red using a flow file called `stop` or `version`. 🤪

2. `node-red --version` or `node-red -version`  
This seems to ignore the invalid parameter and starts Node-red using the default `flows.json`

3. `node-red please start`  
Node-red starts up, expecting a flow file called `please`. Anything else at the end of the command is silently discarded!

It seems to me that this part of the core does not adequately parse it's arguments and print appropriate feedback.

A glance at the other thread I linked to above shows that people are falling foul of this issue.

---

<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:** [27 December 2023 16:49 UTC](https://discourse.nodered.org/t/how-to-install-node-red-and-recognizer/82249/64 "2023-12-27T16:49:00Z")

</div>

Closed on 27 December 2023 16:49 UTC

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

[Previous page](https://discourse.nodered.org/t/how-to-install-node-red-and-recognizer/82249.md?page=3)
