How to install Hass.io Add ons via bash script (.sh) file in Raspbian OS?

hassio-addon
Tags: #<Tag:0x00007fd07cede208>

#1

Hi all,

After successful installation of Docker and Hassio via Raspberry Pi Terminal screen, is it possible to install Hass.io Add ons (Example: Samba Share) using bash script (.sh) file instead of HA 8123 page in Raspbian OS?

If yes, what bash command to run for such installation?

Thanks.


#2
hassio addons --help

#3

Tried this command:
hassio addons --help

But terminal displays error:
bash: hassio: command not found


#4

I assume you are ssh’d into your hassio instance?


#5

FYI.

I only have Raspbian OS installed, with Hass.io Add Ons.

So, I can’t run Hassio command in Raspberry Pi Terminal.


#6

huh?

If you have add-ons, you are running hassio. If you are not running hassio, then you get no add-ons.


#7

Hi,

I installed my Home Assistant manually after installed Raspbian OS on my Raspberry Pi.

My Home Assistant with Hass.io addons screenshot, as per below:
Capture

Now the issue is that my Raspberry Pi terminal cant execute hassio command, as mentioned by @nickrout.


#8

So install the SSH add-on and use a port that’s not port 22