# PiCade Console PiHat setup

**URL:** <https://forums.pimoroni.com/t/picade-console-pihat-setup/9131>\
**Category:** Picade\
**Created:** [November 15, 2018, 11:58am UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131 "2018-11-15T11:58:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![crofmmv](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@crofmmv](https://forums.pimoroni.com/u/crofmmv)\
**Post date:** [November 15, 2018, 11:58am UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131/1 "2018-11-15T11:58:12Z")

</div>

Hi,

I’ve just finished building my PiCade Console seem to have an issue setting up the PiHat can you help?

I found this post but `https://forums.pimoroni.com/t/envirophat-set-up-problem/3220/3`

but when I run the ```  
curl -sS [https://raw.githubusercontent.com/pimoroni/get/master/installers/envirophat](https://raw.githubusercontent.com/pimoroni/get/master/installers/envirophat) | bash

```auto
I get the error bash: line 1: 404:: command not found - any ideas?

Thanks,

Crofmmv
```

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [November 15, 2018, 12:21pm UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131/2 "2018-11-15T12:21:23Z")

</div>

That first link you posted doesn’t work for me, its not clickable. Looks like it set as code instead of URL.

> [@EnviropHAT Set up problem](https://forums.pimoroni.com/t/envirophat-set-up-problem/3220/2):
>
> Could you run the following and let me know the output: ip r

Anyway, why are you running the enviro phat installer on your Picade hat?  
`curl https://get.pimoroni.com/picadehat | bash` is the recommended install code.  
From here, [Picade X HAT USB-C](https://shop.pimoroni.com/products/picade-x-hat)

---

<div class="post-metadata">

**Author:** ![crofmmv](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@crofmmv](https://forums.pimoroni.com/u/crofmmv)\
**Post date:** [November 15, 2018, 12:26pm UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131/3 "2018-11-15T12:26:20Z")

</div>

Hi,  
I get an error when I run “curl [https://get.pimoroni.com/picadehat](https://get.pimoroni.com/picadehat) | bash” Checking enviroment…

We can’t connect to the internet, check your network!

> [@EnviropHAT Set up problem](https://forums.pimoroni.com/t/envirophat-set-up-problem/3220/8):
>
> I think you missed the back quotes in the command, essentially passing the ip directly, with empty result (but not an error, which is what the script is looking for). still I can’t see it making a difference to my current state of puzzlement over this one, it remains a bit of a mystery (for the time being). I did modify the script further though, to avoid passing multiple IPs (or in your case a duplicate of a single one), so if you’d like you could try running the script again without bypassin…

Crofmmv

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [November 15, 2018, 12:46pm UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131/4 "2018-11-15T12:46:06Z")

</div>

Ok, I have to ask the obvious, do you have an Internet connection?  
And if yes, where are you running this from Home or maybe at work?  
To do what was done in that other thread youd need to run something like this  
`curl -sS https://raw.githubusercontent.com/pimoroni/get/master/installers/picade-x-hat | bash`  
Just a guess on my part so don’t be surprised if it also fails.

---

<div class="post-metadata">

**Author:** ![crofmmv](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@crofmmv](https://forums.pimoroni.com/u/crofmmv)\
**Post date:** [November 15, 2018, 1:24pm UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131/5 "2018-11-15T13:24:08Z")

</div>

> [@alphanumeric](#):
>
> curl -sS [https://raw.githubusercontent.com/pimoroni/get/master/installers/picade-x-hat](https://raw.githubusercontent.com/pimoroni/get/master/installers/picade-x-hat) | bash

Yes I have an internet connection using the ethernet port.

I get the same error running that command bash: line 1: 404 command not found.

Crofmmv

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [November 15, 2018, 1:43pm UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131/6 "2018-11-15T13:43:17Z")

</div>

That was just a guess on my part. It sounds like your router or a firewall may be blocking access to the web site URL? Thats why I asked if you were trying to do this from a work location?  
Or you made a typo and or didn’t clip and past the command in properly?

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [November 15, 2018, 2:06pm UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131/7 "2018-11-15T14:06:18Z")

</div>

That’s an old post- the “get” GitHub repository is currently private so you can’t access any of the files there.

The same scripts are hosted on “[get.pimoroni.com](http://get.pimoroni.com)”, the one for Picade HAT is-

```auto
curl -sS https://get.pimoroni.com/picadehat | bash

```

---

<div class="post-metadata">

**Author:** ![crofmmv](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@crofmmv](https://forums.pimoroni.com/u/crofmmv)\
**Post date:** [November 19, 2018, 3:23pm UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131/8 "2018-11-19T15:23:01Z")

</div>

> [@gadgetoid](#):
>
> curl -sS [https://get.pimoroni.com/picadehat](https://get.pimoroni.com/picadehat) | bash

The above command worked thank you :)

Crofmmv

---

<div class="post-metadata">

**Author:** ![j-delvaux](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@j-delvaux](https://forums.pimoroni.com/u/j-delvaux)\
**Post date:** [June 23, 2020, 5:17pm UTC](https://forums.pimoroni.com/t/picade-console-pihat-setup/9131/9 "2020-06-23T17:17:20Z")

</div>

Thanks guys ! You’ve helped me !
