Hass.io on macOS

Can some please tell me in detail how to try this on macOS.
I’m new with docker…

i will suggest to install Fusion ( vmware virtual framework for mac) start an Ubuntu VM and install Hass.io in the VM.
this will give you a clean system with easy mobility and snapshots to recovery in case of problems.

i suggest you use :

https://help.ubuntu.com/community/Installation/MinimalCD
(i suggest 64-bit PC Ubuntu 17.04 “Zesty Zapus” ) (the above link give you a minimal image)

install pre requests by

sudo apt update
sudo apt upgrade
sudo apt install docker.io socat jq fish

install hass.io

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -

to check if hass.io is running, look for running docker containers :

sudo docker ps -a

(the -a is to show all the containers in the system, running and stopped)

1 Like

I also wanted to run on OSX, but in the end found id much easier to just use an old Pi laying around.

I’ve tried it with Virtualbox.

When I did[quote=“mak, post:2, topic:20619”]
curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -
[/quote]

I get

mdir: cannot create directory '/usr/share/hassio': Permission denied

I’ve also tried it with Sudo

Hi,

i think i got the same error when seting up hass.io.
I had to manually switch to the root user with “su -s”.

1 Like

strange …
try to create it manual

login as root:

sudo su

make the directory:

mkdir /usr/share/hassio

and re run the script:

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -

@mak
@Tusk

Logged in as root did the job, thanks!

Thanks for these posts.
I have hass.io running in my Ubuntu Xenial box that I setup on my Mac using Virtualbox and Vagrant.

I had to add a line like
config.vm.network "private_network", ip: "55.55.55.5"
to my Vagrantfile so I could access that address:8123 from my Mac.