Can't get HACS to install -

Trying to install HACS - following the install instructions but
wget -O - https://get.hacs.xyz | bash -
only seems to download “index.html” - can’t see anything like the outputs in other topics on the subject.

New to all this and don’t know what to try to diagnose/fix.

HAOS on Rasbperry Pi 4 - installed following standard instructions. Terminal and SSH Add-0n installed and working - using Putty on PC to talk to pi. (Struggling to copy to or from the Add-on webui on Homeassistant itself hence the screenshot)

Where am I going wrong? Thanks

If I try the same command again I get

[core-ssh ~]$ wget -o - https://get.hacs.xyz | bash -
Connecting to get.hacs.xyz (172.67.132.174:443)
Connecting to raw.githubusercontent.com (185.199.111.133:443)
wget: can’t open ‘index.html’: File exists
[core-ssh ~]$

Seems to have downloaded something that looks like a ‘batch’ file but isn’t running it?

Ran the index.html file using source index.html

Output as follows - seemed to work…

…but still no HACS showing up in integrations

[core-ssh ~]$ source index.html
INFO: Trying to find the correct directory…
INFO: Found Home Assistant configuration directory at ‘/root/config’
INFO: Creating custom_components directory…
INFO: Changing to the custom_components directory…
INFO: Downloading HACS
Connecting to github.com (140.82.121.3:443)
Connecting to github.com (140.82.121.3:443)
Connecting to objects.githubusercontent.com (185.199.111.133:443)
saving to ‘hacs.zip’
hacs.zip 100% |*******************************************************************************| 1964k 0:00:00 ETA
‘hacs.zip’ saved
INFO: Creating HACS directory…
INFO: Unpacking HACS…
INFO: Removing HACS zip file…
INFO: Installation complete.

INFO: Remember to restart Home Assistant before you configure it
[core-ssh custom_components]$ ls
hacs
[core-ssh custom_components]$

1 Like

OK fixed. Clearing browser cache in Chrome does not do the job

Ctrl-F5 does do the job

Can’t help thinking this could all be easier/better documented.

1 Like

I was having the same issue until I realized the HACS page advises to use “get.hacs.xyz” but it should be “install.hacs.xyz”. I cleared cache until the cows came home, but I knew the install part didn’t look right.

I’m facing the same problem.
I executed the job wget -0 https://get.hacs.xyz | bash -
But the program also stops at index.html saved.

unfortunately when I run your suggested code
wget -q -O - https://install.hacs.xyz | bash - it says:

image

“can’t open ‘hacs.zip’: file exists”

Any ideas?

1 Like

Sorry for delayed response, been away.

I’m no expert but that ‘Can’t open message’ means you already have hacs.zip on your disc.

So I think there’s two possibilities:

  1. the file has been downloaded but not ‘installed’ - I’d find it, delete it and try again.
  2. It’s a browser caching issue - in Chrome I needed CTRL F5 to make HACS appear.

Don’t forget to restart HA.

Good luck

Don’t think you want the ‘-O’ option. You want ‘wget https://get.hacs.xyz | bash -’. This command will just output the file to stdout which gets passed to bash. A ‘man wget’ will tell you all you need to know (plus a lot more).

Upon new install of HA, I have the same issue. None of the suggested solutions seem to work. Using any command, I get the same response:
wget -q -O - https://install.hacs.xyz | bash -
wget: can’t open ‘index.html’ : File exists

Reloading the page, clearing the cache does not help. It seems it downloaded this ‘index.html’, and now, it’s interfering with the install process. How can I find this file and delete it? What is the download folder on a Virtual Linux Machine used for HA?

P.S. I powered the Virtual Machine completely. Started it anew, and copy pasted the command into the terminal window using CTRL+SHIFT+V:

wget -O - https://get.hacs.xyz | bash -

And the installation went on as usual.

For anyone on this thread the correct command syntax to install HACS is:

wget -O - https://get.hacs.xyz | bash -

O is letter O (capital O, not 0 or o).

2 Likes

When I try to install openSSH according to the instructions (Download | HACS) I get a message like this when I press open web ui.
What am I doing wrong.

Help please anyone

I’ve downloaded everything and have it appear

When I click on it I just get this


And then when I click on the I just get

I’m a complete noob like 2 days old. How do I get to this page

Click in the red circle or type something in the search bar.

1 Like

Thanks for this

This worked for me installing via Integrations. But on my Mac it was “Cmd + Shift + R”

THANK YOU.
This is the anwer for me.

new to this, total noob, installed HAOS 12.4 on virtualbox VM in Windows 11 and it booted to CLI interface great, then logged into browser and created new account and installed ssh and terminal without any problem and used both wget get and install commands, rebooted HAOS on virtualbox and cleared data on chrome and reconnected, repeated it multiple times but still HACS wont show up, i believe its because my isp is double nat and its not letting me but not sure, any help appreciated much.

Hi All,
I am a newbie here.
I installed “get HACS” addon, but when I start it, i can not download HACS.
Could you please instruct me to solve the problem?
Thank you so much,
Quy

The log is as following:
[18:07:04] INFO: ------------------------------------
[18:07:04] INFO: Starting HACS download…
[18:07:04] INFO: Channel: current
[18:07:04] INFO: ------------------------------------
Connecting to raw.githubusercontent․com (185.199.110.133:443)
saving to ‘./get-hacs’
get-hacs 100% |********************************| 4990 0:00:00 ETA
‘./get-hacs’ saved
INFO: Trying to find the correct directory…
INFO: Found Home Assistant configuration directory at ‘/homeassistant’
INFO: Changing to the custom_components directory…
INFO: Downloading HACS
Connecting to github․com" (20.205.243.166:443)
Connecting to github․com" (20.205.243.166:443)
Connecting to objects.githubusercontent․com" (185.199.109.133:443)
wget: can’t connect to remote host (185.199.109.133): Operation timed out
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

My system is as bellow:

|Version|core-2024.9.2|
|Installation type|Home Assistant OS|

Hardware information: Raspberry Pi 4 rpi4-64