# Install NR using the Script does not work

**URL:** https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807
**Category:** General
**Created:** [2 January 2020 08:09 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807 "2020-01-02T08:09:54Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Golonder](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Golonder](https://discourse.nodered.org/u/Golonder)
#### Post date: [2 January 2020 08:09 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/1 "2020-01-02T08:09:54Z")

</div>

Hi,  
I have a brand-new Raspi 4 with Raspbian Buster running and want to install Node-Red now.  
Unfortunately the script

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

does not do anything.  
This is how it looks on my machine:

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

```

Any ideas what woring with my Raspi ?

BR  
Go

---

<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: [2 January 2020 09:41 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/2 "2020-01-02T09:41:48Z")

</div>

Is your internet access ok?  
What happens if you open run

```auto
curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered

```

Which should fetch the script and run it. If it says that `curl` is not found then  
`sudo apt install curl`

---

<div class="post-metadata">

### Author: ![Golonder](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Golonder](https://discourse.nodered.org/u/Golonder)
#### Post date: [2 January 2020 09:43 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/3 "2020-01-02T09:43:30Z")

</div>

internet works fine, yes

`curl is already the newest version (7.64.0-4).`

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

```

---

<div class="post-metadata">

### Author: ![Golonder](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Golonder](https://discourse.nodered.org/u/Golonder)
#### Post date: [2 January 2020 10:44 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/4 "2020-01-02T10:44:16Z")

</div>

I have set up a completely new SD card with raspian buster for my raspi4 now ... same behaviour as before  
If i start the script nothing happens  
is there any kind of logfile or anything I could check ?

---

<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 January 2020 10:55 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/5 "2020-01-02T10:55:41Z")

</div>

If you've downloaded the script, you could look at what it does and step through it manually. It is odd not to get any output from it ... so not sure if it would have gotten as far as logging anything yet. May need input from @dceejay when he's next around.

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [2 January 2020 11:34 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/6 "2020-01-02T11:34:18Z")

</div>

Can you ping [https://raw.githubusercontent.com](https://raw.githubusercontent.com) from the pi?

---

<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: [2 January 2020 13:42 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/7 "2020-01-02T13:42:24Z")

</div>

I have just done a quick test and it seems that curl just returns without comment if it cannot access the url specified. So I think that does mean that for some reason you cannot access that site. As @edje11 suggested the next test is to see if you can ping it.

---

<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 January 2020 14:56 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/8 "2020-01-02T14:56:00Z")

</div>

Still odd - as the script does try to check internet connectivity and should print out if that fails...

---

<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: [2 January 2020 15:08 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/9 "2020-01-02T15:08:07Z")

</div>

If curl can't connect to download the script then nothing in the script to check the connectivity will make much difference 🙂

---

<div class="post-metadata">

### Author: ![Golonder](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Golonder](https://discourse.nodered.org/u/Golonder)
#### Post date: [2 January 2020 15:14 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/10 "2020-01-02T15:14:51Z")

</div>

Yes, I can download the script manually without any problems (from my local PC). I can ping the server from the raspi. This could not be the issue

pi@raspberrypi:~ $ ping [raw.githubusercontent.com](http://raw.githubusercontent.com)  
PING [github.map.fastly.net](http://github.map.fastly.net) (151.101.188.133) 56(84) bytes of data.  
64 bytes from 151.101.188.133 (151.101.188.133): icmp\_seq=1 ttl=50 time=170 ms  
64 bytes from 151.101.188.133 (151.101.188.133): icmp\_seq=2 ttl=50 time=169 ms  
64 bytes from 151.101.188.133 (151.101.188.133): icmp\_seq=3 ttl=50 time=169 ms  
64 bytes from 151.101.188.133 (151.101.188.133): icmp\_seq=4 ttl=50 time=169 ms  
64 bytes from 151.101.188.133 (151.101.188.133): icmp\_seq=5 ttl=50 time=170 ms  
^C

Unfortunately I am not able to execute the scripts steps manually ... I am not that deep into linux and commandline

---

<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 January 2020 15:16 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/11 "2020-01-02T15:16:35Z")

</div>

doh ! - good point Colin...

---

<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 January 2020 15:18 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/12 "2020-01-02T15:18:01Z")

</div>

If you have managed to download it - can you just try running it locally - It should at least then report why it's failing... (fingers crossed)

---

<div class="post-metadata">

### Author: ![Golonder](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Golonder](https://discourse.nodered.org/u/Golonder)
#### Post date: [2 January 2020 15:18 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/13 "2020-01-02T15:18:06Z")

</div>

but meanwhile I solved the issue by manually installing NPM and NODE using this guide:

> **[Install Node.js and Npm on Raspberry Pi](https://www.instructables.com/id/Install-Nodejs-and-Npm-on-Raspberry-Pi/)**
>
> Install Node.js and Npm on Raspberry Pi: You can build many apps using node.js and npm on your raspberry pi and it's very easy to interact with GPIO or other components connected to your raspberry pi. So if you are like me and like to do it on...

it works now with most actual versions - it seems I was expecting too much from linux 🙄

---

<div class="post-metadata">

### Author: ![Golonder](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Golonder](https://discourse.nodered.org/u/Golonder)
#### Post date: [2 January 2020 15:19 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/14 "2020-01-02T15:19:03Z")

</div>

I do not know how to download and execute it manually on the pi  
I was able to download it to my windows pc without any problems

---

<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 January 2020 15:22 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/15 "2020-01-02T15:22:32Z")

</div>

Run the `curl` command without the `-sL` arguments. That will download the script into the current directory. You can then try running it manually.

---

<div class="post-metadata">

### Author: ![Golonder](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Golonder](https://discourse.nodered.org/u/Golonder)
#### Post date: [2 January 2020 15:25 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/16 "2020-01-02T15:25:09Z")

</div>

seems to be a SSL issue !?!?

```auto
pi@raspberrypi:~ $ curl https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
pi@raspberrypi:~ $

```

---

<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 January 2020 15:38 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/17 "2020-01-02T15:38:00Z")

</div>

You had similar ssl issues trying to update npm. So yes, suggests there are issues with your pi's SSL handling. Have a search for these errors to find out how others have fixed it.

---

<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 January 2020 15:41 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/18 "2020-01-02T15:41:31Z")

</div>

(random thought - is the clock correct on your Pi - sometimes if the clock is wrong then the cert will be "out of date")

---

<div class="post-metadata">

### Author: ![Golonder](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Golonder](https://discourse.nodered.org/u/Golonder)
#### Post date: [2 January 2020 15:47 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/19 "2020-01-02T15:47:11Z")

</div>

hm ... datetime was set to UTC instead of CET, but it did not solve the issue

---

<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: [2 January 2020 15:49 UTC](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807/20 "2020-01-02T15:49:40Z")

</div>

If you've had at least 2 sets of issues related to SSL/TLS, you are almost certainly going to get more. Better to sort that out now even if it means setting up from scratch because it will only get harder later on.

[Next page](https://discourse.nodered.org/t/install-nr-using-the-script-does-not-work/19807.md?page=2)
