# NR installation without settings file wizard?

**URL:** <https://discourse.nodered.org/t/nr-installation-without-settings-file-wizard/84945>\
**Category:** General\
**Created:** [26 January 2024 14:12 UTC](https://discourse.nodered.org/t/nr-installation-without-settings-file-wizard/84945 "2024-01-26T14:12:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monkey](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Monkey](https://discourse.nodered.org/u/Monkey)\
**Post date:** [26 January 2024 14:12 UTC](https://discourse.nodered.org/t/nr-installation-without-settings-file-wizard/84945/1 "2024-01-26T14:12:46Z")

</div>

A bit new to this, so this may be stupid question.

I'm using ansible playbook to setup several things. Before it worked fine, but now there's this "wizard" after NR installation and my playbook hangs there until I stop it... The part it hangs is:

```auto
Node-RED Settings File initialisation
=====================================
This tool will help you create a Node-RED settings file.

? Settings file ‣ /home/test/.node-red/settings.js

```

Can this part be skipped somehow automatically? Maybe add something to installing command or something? At the moment I'm using:

`/home/test/update-nodejs-and-nodered --skip-pi --confirm-install`

on my playbook to install NR. There's no need to me to do this "settings file wizard" since my playbook installs all the needed files and settings after NR installation. Any ideas?

---

<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:** [26 January 2024 14:24 UTC](https://discourse.nodered.org/t/nr-installation-without-settings-file-wizard/84945/2 "2024-01-26T14:24:24Z")

</div>

Welcome to the forums @Monkey

use `--no-init` (I think) results in the settings file not being written

---

<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:** [26 January 2024 16:28 UTC](https://discourse.nodered.org/t/nr-installation-without-settings-file-wizard/84945/3 "2024-01-26T16:28:39Z")

</div>

You can see all the options if you run  
`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --help`

On a side issue, is there a reason that you don't get ansible to run the `bash <(curl...` command rather than downloading it and running it?

---

<div class="post-metadata">

**Author:** ![ChZeman](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@ChZeman](https://discourse.nodered.org/u/ChZeman)\
**Post date:** [26 January 2024 21:19 UTC](https://discourse.nodered.org/t/nr-installation-without-settings-file-wizard/84945/4 "2024-01-26T21:19:30Z")

</div>

This is what I'm doing.

```auto
- name: Install Node-RED
  shell: 'bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-install --confirm-pi --no-init --node20'
  args:
    executable: /bin/bash
  become: false

```

I was using the alternative installer but decided I liked the regular install better.

---

<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:** [25 April 2024 21:19 UTC](https://discourse.nodered.org/t/nr-installation-without-settings-file-wizard/84945/5 "2024-04-25T21:19:57Z")

</div>

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