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

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.

hassio addons --help

Tried this command:
hassio addons --help

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

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

FYI.

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

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

huh?

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

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.

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

1 Like