# The installation script has no output in raspberrypi

**URL:** <https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803>\
**Category:** General\
**Tags:** raspberry-pi\
**Created:** [27 March 2024 11:24 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803 "2024-03-27T11:24:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmy235638](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lmy235638/32/89666_2.png) [@lmy235638](https://discourse.nodered.org/u/lmy235638)\
**Post date:** [27 March 2024 11:24 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803/1 "2024-03-27T11:24:38Z")

</div>

Hi, I tried installing nodered locally on my new raspberry pi 4B and the provided Github install script does not work.I followed the official docs,make sure git curl build-essential works successfully.But when I ran the installation script, there was no output. **sudo is not used**

```auto
lmy@raspberrypi:~ $ bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
lmy@raspberrypi:~ $

```

At first I thought it was my installation problem because I was a novice. But I used a new sd card with a new raspberry pi os(64-bit) and still had the same problem.

I found the problem in the forum and did what @jbudd said.  
[https://discourse.nodered.org/t/raspberry-pi-install-script-not-working/71865/8?u=lmy235638](https://discourse.nodered.org/t/raspberry-pi-install-script-not-working/71865/8)

> 1 Download the script **curl -sL [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) \> nrinstall**

I came up with the file nrinstall, but it doesn't have any content

 ![QQ截图20240327191352](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/2/92d8c88e18d27bc9c5f7919ce33f3e0bd40f2d7c.png)

The output in the shell is as follows

```auto
lmy@raspberrypi:~ $ curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered 11 > nrinstall

lmy@raspberrypi:~ $

```

[https://discourse.nodered.org/t/raspberry-pi-install-script-not-working/71865/16?u=lmy235638](https://discourse.nodered.org/t/raspberry-pi-install-script-not-working/71865/16)

```auto
lmy@raspberrypi:~ $ curl https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered
curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 31 ms: Couldn't connect to server

```

Cat /etc/os-release :

```auto
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

```

Thank you for your help and attention.

---

<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:** [27 March 2024 12:01 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803/2 "2024-03-27T12:01:59Z")

</div>

Welcome to the forum @lmy235638

What does this command show? I think you may have a network issue.  
`ping raw.githubusercontent.com`

---

<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:** [27 March 2024 12:37 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803/3 "2024-03-27T12:37:56Z")

</div>

> [@lmy235638](#):
>
> I came up with the file nrinstall, but it doesn't have any content

The command I suggested in that thread is probably not sensible to use in every case, though it can't do any harm.  
If the file nrinstall exists but has no content it does indeed suggest that your Pi has a network problem.  
It might have been a temporary outage. Try the standard installation command again and let us know if you still have problems.

---

<div class="post-metadata">

**Author:** ![lmy235638](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lmy235638/32/89666_2.png) [@lmy235638](https://discourse.nodered.org/u/lmy235638)\
**Post date:** [27 March 2024 13:42 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803/4 "2024-03-27T13:42:03Z")

</div>

I really appreciate your answer.I have successfully installed, it is a problem caused by the network, I am from China  
Use the vim /etc/hosts command to open the hosts file on an unreachable machine and add the following:

```auto
199.232.68.133 raw.githubusercontent.com
199.232.68.133 user-images.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com

```

Then modify the image source according to the official README-CN.md  
[linux-installers/README-CN.md at master · node-red/linux-installers (github.com)](https://github.com/node-red/linux-installers/blob/master/README-CN.md)  
Finally, run the bash command to successfully install

I had suspected it was a network problem, but the script didn't have any output that bothered me all afternoon.  
Thank you all and the forum！

---

<div class="post-metadata">

**Author:** ![lmy235638](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lmy235638/32/89666_2.png) [@lmy235638](https://discourse.nodered.org/u/lmy235638)\
**Post date:** [27 March 2024 13:44 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803/5 "2024-03-27T13:44:04Z")

</div>

It's a network problem. I just posted the solution above. Thank you for helping me with your answers before the forum, and thank you very much for your answers this time

---

<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:** [27 March 2024 13:47 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803/6 "2024-03-27T13:47:03Z")

</div>

The correct solution is use a DNS service that is able to provide the ip addresses. Perhaps that solution is not available in your country.  
IP addresses can change, which would stop the script from running again. That is why DNS is used to map domain names to IP addresses.

---

<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:** [27 March 2024 13:47 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803/7 "2024-03-27T13:47:52Z")

</div>

> [@lmy235638](#):
>
> I am from China

Here in the UK we hear about state control of access to the internet in China.

I'm glad you found a way to install Node-red, which is surely an innocent programming environment!

---

<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:** [10 April 2024 13:48 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803/8 "2024-04-10T13:48:10Z")

</div>

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