# Why the difference between manual node install and palette install

**URL:** <https://discourse.nodered.org/t/why-the-difference-between-manual-node-install-and-palette-install/29364>\
**Category:** General\
**Created:** [2 July 2020 09:42 UTC](https://discourse.nodered.org/t/why-the-difference-between-manual-node-install-and-palette-install/29364 "2020-07-02T09:42:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [2 July 2020 09:42 UTC](https://discourse.nodered.org/t/why-the-difference-between-manual-node-install-and-palette-install/29364/1 "2020-07-02T09:42:23Z")

</div>

Something I've wondered for a while

In (all?) contrib node notes - they say install using

```auto
npm install node-red-contrib-xxx

```

but the log from a node install via palette says

```auto
npm install--no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-xxx@version_number

```

Why is this? What diff does it make? Should installing from command line use the extra params?

---

<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:** [2 July 2020 09:48 UTC](https://discourse.nodered.org/t/why-the-difference-between-manual-node-install-and-palette-install/29364/2 "2020-07-02T09:48:46Z")

</div>

`--no-audit` - turns off the audit report. When doing it via the palette manager, we have no easy way for the user to do anything meaningful with that information, so we turn it off. When running manually, it useful to see.

`--no-update-notifier` - turns off npm telling you there is a new version of npm available. Again, not useful in the context of the palette manager as the user can't do anything about it via the editor.

`--no-fund` - turns off the notifications that a module that has been installed has a `fund` message.

`--save` - ensures the module is saved to package.json. This is now the default behaviour of npm so the arg isn't strictly needed.

`--save-prefix="~"` - meh

`--production` - do not install development dependencies. Again, this has now become the default behaviour of npm

---

<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 July 2020 09:55 UTC](https://discourse.nodered.org/t/why-the-difference-between-manual-node-install-and-palette-install/29364/3 "2020-07-02T09:55:17Z")

</div>

@cymplecy see [https://docs.npmjs.com/cli-commands/install.html](https://docs.npmjs.com/cli-commands/install.html) for a fuller list of options.

---

<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:** [2 July 2020 10:08 UTC](https://discourse.nodered.org/t/why-the-difference-between-manual-node-install-and-palette-install/29364/5 "2020-07-02T10:08:16Z")

</div>

if you can be bothered to type them in all the time then please go ahead 😉  
They just stop various extra checks that you see when you don't use them. And indeed the update notifier can fail and timeout and really slow things unnecessarily.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [16 July 2020 10:08 UTC](https://discourse.nodered.org/t/why-the-difference-between-manual-node-install-and-palette-install/29364/6 "2020-07-16T10:08:19Z")

</div>

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