Inhaltsverzeichnis

Installing Node-RED in a Windows Sandbox

For your first steps in Node-Red, you may want to install it in a disposable environment.

If you have the Windows Sandbox Feature enabled, you can just start up a new Sandbox, start Powershell, and paste the following script to fire up a Node-Red instance within a few minutes.

Keep in mind, everything will be deleted once you close the sandbox.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
New-NetFirewallRule -DisplayName "nodered" -Direction Inbound -Program "C:\program files\nodejs\node.exe" -RemoteAddress 127.0.0.1 -Action Allow
choco install nodejs -y
choco install googlechrome -y
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") 
npm install -g --unsafe-perm node-red
start-job {node-red}
sleep 10
start -WindowStyle Maximized chrome 127.0.0.1:1880
#npm install -g --production windows-build-tools

Using an Online Service

If using an online service, keep in mind that sharing sensitive data, like bearer tokens, with these services might not be a good idea.

Here are some free online services to use.

Installing in Docker on Linux

This would be the preferred way to use Node-RED. There are a lot of Howtos available. Just use the search engine of your choice.