# Problems Installing NodeRED

**URL:** <https://discourse.nodered.org/t/problems-installing-nodered/77046>\
**Category:** General\
**Created:** [29 March 2023 09:30 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046 "2023-03-29T09:30:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ken-ve3hls](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ken-ve3hls/32/78109_2.png) [@Ken-ve3hls](https://discourse.nodered.org/u/Ken-ve3hls)\
**Post date:** [29 March 2023 09:30 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/1 "2023-03-29T09:30:40Z")

</div>

Just trying to install Node red for the first time. The last time I did any programming was a BASIC course in 1986. I did OK but remember nothing 37 years later. Previous to that, I blown out of a Fortran course in 1976. This looks to be just as challenging.

So far, I've been sent all over the internet to download things. The latest was this. I don't even know what it is or what it does, but I followed instructions and used Powershell to install something (npm?).  
After that I ran NodeRED from the command prompt in Powershell with the following result. Something can't be loaded because something else is wrong. I visited the Microsoft page about Execution Policies and don't see anything about how to fix things on my computer.

Please, I could use some help. I'd hate to think I'm already dead in the water on Step 2 on my first day.

Thanks in advance,  
Ken

PS C:\Users\ve3hl\> npm install -g --unsafe-perm node-red

added 292 packages in 12s

40 packages are looking for funding  
run `npm fund` for details  
npm notice  
npm notice New minor version of npm available! 9.5.0 -\> 9.6.2  
npm notice Changelog: [Release v9.6.2 · npm/cli · GitHub](https://github.com/npm/cli/releases/tag/v9.6.2)  
npm notice Run npm install -g npm@9.6.2 to update!  
npm notice  
PS C:\Users\ve3hl\> node-red  
node-red : File C:\Users\ve3hl\AppData\Roaming\npm\node-red.ps1  
cannot be loaded because running scripts is disabled on this system.  
For more information, see about\_Execution\_Policies at  
https:/go.microsoft.com/fwlink/?LinkID=135170.  
At line:1 char:1

- node-red
- 

```auto
  + CategoryInfo : SecurityError: (:) [], PSSecurityExcept
 ion
  + FullyQualifiedErrorId : UnauthorizedAccess
```

---

<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 March 2023 10:01 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/2 "2023-03-29T10:01:38Z")

</div>

OK, so you have fallen foul of Microsoft's security policies for PowerShell.

You've a couple of choices. Use an old-fashioned CMD prompt instead of PowerShell Or change the execution policy for PowerShell.

Using cmd is probably easiest if you aren't used to PowerShell.

So click the windows menu and start typing `cmd`. You should be offered the "Command Prompt". You can run node-red from there.

If it tells you it can't find the node-red command, you will probably need to log out and back in again so that the path's catch up (or you can reboot).

---

<div class="post-metadata">

**Author:** ![Ken-ve3hls](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ken-ve3hls/32/78109_2.png) [@Ken-ve3hls](https://discourse.nodered.org/u/Ken-ve3hls)\
**Post date:** [29 March 2023 12:34 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/3 "2023-03-29T12:34:05Z")

</div>

Many thanks! cmd worked as you said.

Only I don't understand where the graphical interface is, where I drag and drop things to create a 'flow'. I went back to my browser and entered 'node-red' and it took me to the main website, not the interface. Maybe without the hyphen? No, that goes back to the website as well...

Thanks again,

Ken

---

<div class="post-metadata">

**Author:** ![mudwalker](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mudwalker](https://discourse.nodered.org/u/mudwalker)\
**Post date:** [29 March 2023 12:42 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/4 "2023-03-29T12:42:23Z")

</div>

I know it is simple, buy did you try [http://localhost:1880](http://localhost:1880) for the editor?

To get something on the web page you need [http://localhost:1880/ui](http://localhost:1880/ui) if you have node-red-dashboard installed using Manage Palette?

---

<div class="post-metadata">

**Author:** ![Ken-ve3hls](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ken-ve3hls/32/78109_2.png) [@Ken-ve3hls](https://discourse.nodered.org/u/Ken-ve3hls)\
**Post date:** [29 March 2023 12:56 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/5 "2023-03-29T12:56:01Z")

</div>

Sorry, neither of those worked.

Manage Palette? What's that?

---

<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:** [29 March 2023 13:06 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/6 "2023-03-29T13:06:02Z")

</div>

Hi @Ken-ve3hls

When you run the `node-red` command, you should get some output similar to the following:

```auto
    24 Mar 09:55:01 - [info] Settings file : /Users/nol/.node-red/settings.js
    24 Mar 09:55:01 - [info] Context store : 'default' [module=memory]
    24 Mar 09:55:01 - [info] Context store : 'file' [module=localfilesystem]
    24 Mar 09:55:01 - [info] User directory : /Users/nol/.node-red
    24 Mar 09:55:01 - [info] Projects directory: /Users/nol/.node-red/projects
    24 Mar 09:55:01 - [info] Server now running at http://127.0.0.1:1880/
    24 Mar 09:55:01 - [info] Active project : SubflowContext
    24 Mar 09:55:01 - [info] Flows file : /Users/nol/.node-red/projects/SubflowContext/flows.json
    24 Mar 09:55:01 - [warn] Using unencrypted credentials
    24 Mar 09:55:01 - [info] Starting flows
    24 Mar 09:55:01 - [info] Started flows

```

Assuming you have got that, then Node-RED is now running. Note the line `Server now running at http://127.0.0.0:1880/` - that is the url you should use to access the editor in your browser.

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [29 March 2023 13:10 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/7 "2023-03-29T13:10:29Z")

</div>

`http://127.0.0.:1880/`  
I think you may have an extra 'dot' in the URL.

Should be... `http://127.0.0:1880/`

---

<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:** [29 March 2023 13:11 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/8 "2023-03-29T13:11:11Z")

</div>

> [@dynamicdave](#):
>
> I think you may have an extra 'dot' in the URL.

Fixed - although my point was more to refer the url provided in the _actual_ log output.

---

<div class="post-metadata">

**Author:** ![mudwalker](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mudwalker](https://discourse.nodered.org/u/mudwalker)\
**Post date:** [29 March 2023 13:12 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/9 "2023-03-29T13:12:03Z")

</div>

Another correction, sorry!

```auto
Server now running at http://127.0.0.1:1880/

```

(cross posted.)

---

<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:** [29 March 2023 13:21 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/10 "2023-03-29T13:21:26Z")

</div>

Also I recommend watching this playlist: [Node-RED Essentials](https://www.youtube.com/playlist?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6). The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

---

<div class="post-metadata">

**Author:** ![Ken-ve3hls](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ken-ve3hls/32/78109_2.png) [@Ken-ve3hls](https://discourse.nodered.org/u/Ken-ve3hls)\
**Post date:** [29 March 2023 23:14 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/11 "2023-03-29T23:14:43Z")

</div>

Many thanks!

Just waking up now. i'll give it a try after breakfast.

Ken

---

<div class="post-metadata">

**Author:** ![Ken-ve3hls](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ken-ve3hls/32/78109_2.png) [@Ken-ve3hls](https://discourse.nodered.org/u/Ken-ve3hls)\
**Post date:** [30 March 2023 02:58 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/12 "2023-03-30T02:58:32Z")

</div>

That did it! Thanks a million!

Will it always be at that URL, or do I have to run that command line thing to find out where it is?

Ken

---

<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:** [30 March 2023 07:50 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/13 "2023-03-30T07:50:01Z")

</div>

It will always be at that URL if Node-RED is running.

> do I have to run that command line thing to find out where it is?

That command is how you run Node-RED.

---

<div class="post-metadata">

**Author:** ![Ken-ve3hls](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ken-ve3hls/32/78109_2.png) [@Ken-ve3hls](https://discourse.nodered.org/u/Ken-ve3hls)\
**Post date:** [30 March 2023 10:00 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/14 "2023-03-30T10:00:54Z")

</div>

Understood, thanks, but forgive me for saying that's a strange way to run a piece of software in 2023. Haven't gone near a DOS prompt in nearly 40 years..

Ken

---

<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:** [30 March 2023 10:13 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/15 "2023-03-30T10:13:14Z")

</div>

Node-RED is more of a background service than a desktop application.

If you want it always running, our docs describe how to do that for Windows here: [Running on Windows : Node-RED](https://nodered.org/docs/getting-started/windows#run-node-red-on-startup)

---

<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:** [30 March 2023 11:04 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/16 "2023-03-30T11:04:04Z")

</div>

I'm inclined to agree, its oddly difficult to install Node-red on Windows.

Maybe the process is not unusually opaque for those used to installing server software but if you are expecting Windows' "click install, confirm, everything is done for you" process it's baffling.

I don't suppose it's any comfort but if you were installing on Linux there is a one line command to install and automatically startup Node-red. (try a Raspberry Pi or an old thin client PC with Linux)  
A much more friendly and reassuring introduction to the language!

---

<div class="post-metadata">

**Author:** ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Post date:** [30 March 2023 12:26 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/17 "2023-03-30T12:26:33Z")

</div>

> [@knolleary](#):
>
> If you want it always running, our docs describe how to do that for Windows here: [Running on Windows : Node-RED](https://nodered.org/docs/getting-started/windows#run-node-red-on-startup)

Has there ever been an initiative to create an installer script (e.g. with Inno Setup) to make life easier for people trying to run Node-RED on Windows?

---

<div class="post-metadata">

**Author:** ![Ken-ve3hls](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ken-ve3hls/32/78109_2.png) [@Ken-ve3hls](https://discourse.nodered.org/u/Ken-ve3hls)\
**Post date:** [30 March 2023 12:57 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/18 "2023-03-30T12:57:48Z")

</div>

Thanks again Nick! Much appreciated!

Ken

---

<div class="post-metadata">

**Author:** ![Ken-ve3hls](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ken-ve3hls/32/78109_2.png) [@Ken-ve3hls](https://discourse.nodered.org/u/Ken-ve3hls)\
**Post date:** [30 March 2023 13:01 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/19 "2023-03-30T13:01:05Z")

</div>

In my experience, 1 click Linux installation would make it the only such thing in existance! I have a severe allergy to Linux and won't be trying it, thanks.

Ken

---

<div class="post-metadata">

**Author:** ![Ken-ve3hls](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ken-ve3hls/32/78109_2.png) [@Ken-ve3hls](https://discourse.nodered.org/u/Ken-ve3hls)\
**Post date:** [30 March 2023 13:03 UTC](https://discourse.nodered.org/t/problems-installing-nodered/77046/20 "2023-03-30T13:03:59Z")

</div>

The usual response to that is "It's open source. You can do it yourself". 😜

Ken

[Next page](https://discourse.nodered.org/t/problems-installing-nodered/77046.md?page=2)
